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
Why quicksort is faster than merge sort?
Define heap order property?
If we add enum constants to a sorted collection ( treemap , treeset ), what will be the order in which they will be maintained?
How to find the missing element in integer array of 1 to 7?
What sorting algorithm should be used for sorting strings?
Is quicksort a stable sorting algorithm?
State the difference between stacks and linked lists?
What is the best case for bubble sort?
Which is better merge or quick sort?
What is stack in geography?
Give us a program to reverse a linked list.
What is the space complexity of quicksort?
Which sorting is used in collections sort?
What is the height of an empty tree?
How to find the duplicate in an array?