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

Answer Posted / srinivas.bolusupati

in order:LOR
pre order:OLR
post order:LRO

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does hashset maintain order?

522


What are linked list?

558


What is complexity algorithm?

458


What is sorting with example?

467


how to insert a new node in linked list where free node will be available?

567






Define binary tree insertion.

588


Which interface treemap implements?

555


Are data structures important?

482


What are different methods of collision resolution in hashing.

494


Define an abstract data type (adt)?

566


What is the minimum number of nodes that a binary tree can have?

574


Is arraylist a collection?

518


What is concurrentlinkeddeque?

535


In tree construction which is the suitable efficient data structure?

549


What are arrays used for?

539