How will inorder, preorder and postorder traversals print
the elements of a tree?
Answer Posted / sanjeevi
in order:lRr
preorder:Rlr
postorder:lrR
l:left
r:right
R:root
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
Is quicksort a stable sorting algorithm?
Why using cookie to store session info is a better idea than just using session info in the request?
Describe the complexity of Quick Sort
Can arraylist contain duplicates?
What are the advantages of binary search over linear search?
Define quadratic probing?
You want to insert a new item in a binary search tree. How would you do it?
What do you mean by an Array?
Define the term “percolate up”?
What is bubble sort and quick sort?
Define non linear data structure.
What are the major data structures used in the rdbms?
Explain the Stack
Is tuple immutable?
What are the advantages of linked list?