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
How many types of linked list are there?
What is difference between list and array list?
What is data structure and its operations?
What is the difference between list and arraylist?
What is a sorting algorithm in data structure?
Define the queue data structure.
Why is an array homogeneous?
What are red-black trees?
State the merits of linear representation of binary trees?
Define forest?
How many types of priority queue are there?
How arraylist increase its size?
What is peek in stack?
Does treemap allow null values?
What are the different types of collections?