How will inorder, preorder and postorder traversals print
the elements of a tree?

Answer Posted / vidhun s

in order:LOR
pre order:OLR
post order:LRO
L=LEFT CHILD
R=RIGHT CHILD
O=ROOT NODE

Is This Answer Correct ?    34 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by Runtime Error

548


Define indegree of a graph?

680


Is bucket sort stable?

489


How do you empty an arraylist?

497


What are binary search and fibonacci search?

511






Differentiate between arraylist and linkedlist.

623


How to compare Two Arrays?

543


Define a queue?

561


What are examples of data structures?

509


What is meant by binary tree?

462


What is a vector element?

471


Why do we use hashset?

473


Which is better arraylist or linkedlist?

462


Can the double-checked locking fail on a single processor system?

565


What is weight balanced tree in data structure?

476