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
How is any data structure application is classified among files?
What is thread and types of thread?
Can arraylist contain duplicates?
What are the different types of data structures explain briefly?
When would you use a hashmap?
What are the types of bulleted list?
What is data structure and why we need them?
Which type of sorting is best?
What do you understand by doubly linked list?
If you are using c language to implement the heterogeneous linked list, explain what pointer type will you use?
What is the complexity of arrays sort?
What is the purpose of sorting?
What are different types of sorting techniques?
Give the example of validating the parenthesis of expression using stack.
What is difference between data type and data structure?