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
In Data Structure, write output of given program.
What is meant by ordered and sorted in collections?
What is a string or array type?
Which searching algorithm is best?
Describe the degree term in a tree.
What does a bubble chart show?
What do you mean by double hashing?
Define adjacent nodes?
What is the difference between a push and a pop?
Explain the term run-time stack?
What is the difference between collections class vs collections interface?
Is array immutable?
If I try to add enum constants to a treeset, what sorting order will it use?
Are collections thread safe?
How do you sort in ascending order in arraylist?