How will inorder, preorder and postorder traversals print
the elements of a tree?
Answer Posted / sankar
in order:LOR
pre order:OLR
post order:LRO
L=LEFT CHILD
R=RIGHT CHILD
O=ROOT NODE
| Is This Answer Correct ? | 15 Yes | 6 No |
Post New Answer View All Answers
Can hashmap be sorted?
When ArrayIndexOutOfBoundsException occurs?
What is difference between arraylist and list?
What is hash data type?
What do you mean by external sorting?
What is the difference between collections class vs collections interface?
Is array size dynamic or fixed?
Explain Linked List
Define b-tree of order m?
How do you initialize an arraylist?
What are the standard ways in which a graph can be traversed?
What is difference between hashmap and map?
Which time complexity is best?
Define red-black trees.
What is the best case for bubble sort?