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

Can arraylist be resized?

560


What is doubly linked list in data structure?

439


Explain the types of linked lists.

561


What are doubly linked lists?

581


How efficient is bubble sort?

510






What is scalar data type?

604


How are the elements of a 2d array are stored in the memory?

619


Does treeset allow null?

473


Who created quicksort?

529


What is sorting in data structure?

489


Define graph?

733


What are basic algorithms?

459


Why is arraylist not thread safe?

511


When will we get ArrayStoreException?

755


Which collection is used for sort?

503