How will inorder, preorder and postorder traversals print
the elements of a tree?
Answer Posted / kayalvizhi jayavel
Inorder: Left, Node, Right
Preorder: Node, Left, Right
Postorder: Left, Right, Node
Is This Answer Correct ? | 30 Yes | 7 No |
Post New Answer View All Answers
What is data structure and its classification?
Why do we need linked list?
What is the difference between collection and collections?
State the difference between queues and linked lists?
What is an recursive algorithm?
Which sorting algorithm uses minimum number of swaps?
Tell me what is quick sort?
What is link list in data structure?
What is data structure and why we need it?
Can you distinguish between ArrayList and Array?
Which is faster arraylist or hashmap?
Define indegree of a graph?
Differentiate between collection and collections.
Write an algorithm to show various operations on ordered list and arrays
If you have to store one lakh objects, what will be a better option- a hash map or an array list?