How will inorder, preorder and postorder traversals print
the elements of a tree?
Answer Posted / meenakshi
INORDER:: LNR
PREORDER:: NLR
POSTORDER::LRN
here L stands for the leftnode of the tree R stands for the
right node of the tree and N stands for the root node of
that tree.
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
Explain binary search tree?
what is a balanced tree.
What is an object array?
What are the advantages of linked list?
What is a matrix?
Run time memory allocation is known as ?
What is 1d array?
What is heap and its types?
Describe stack operation.
What is the difference between push and pop?
Which sorting method is slowest?
Why is it important to sort waste?
Is radix sort faster than quicksort?
How do I sort a hashmap key?
Describe the complexity of Quick Sort