How would you print out the data in a binary tree, level by
level, starting at the top?

Answer Posted / sridhar

By using inorder,preorder,postorder.the data may print as
LDR,DLR,LRD.this only the chance to print data in a bionary
tree.

Is This Answer Correct ?    4 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string function in c?

529


Explain the difference between getch() and getche() in c?

558


Are bit fields portable?

669


What are the differences between Structures and Arrays?

599


Where define directive used?

596






Explain what is a 'locale'?

577


What is a program?

650


What is file in c preprocessor?

646


How can I find out the size of a file, prior to reading it in?

612


When should volatile modifier be used?

544


what is the different bitween abap and abap-hr?

1737


What is chain pointer in c?

595


please explain every phase in the "SDLC" in the dotnet.

2173


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

636


When do we get logical errors?

629