Please enable JavaScript.
Coggle requires JavaScript to display documents.
Trees - Coggle Diagram
Trees
Traversal
In BFS we start from left or right ??
Why different types of traversal ?
Which to use when ?
Inorder preorder post order are they only defined for binary trees ????
Types of DFS
what happens in inorder
makes sense only in Binary tree
preorder
postorder
NO !!!!!!!
recursively defined
Queue vs stack
doing DFS iteratively using stacks
DOUBTS
Are the siblings of parents ancestors
Height of nodes ???
how can every leaf have the same height??
m-ary Tree