Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
eeojun
· 10y ago · 0 comments
Hi, original author here. I used "perfect" trees as I wanted to generalise it to trees of other "types", not just binary trees. But yes, you are correct that it is incomplete for the broader category of binary trees.
Comments
[–]
loeg
10y ago
Other types of trees can also be unbalanced :-). E.g., the classic example of DFS is maze-solving, which is usually unbalanced.