What are the tasks performed during postorder traversal?
Answer / Aftab Alam
1. Traverse left subtree by recursively calling the function for the left child.
2. Visit the node (perform some task like printing its data).
3. Traverse right subtree by recursively calling the function for the right child.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between hashset and hashmap?
What is the two-dimensional array?
Explain what is the type of the algorithm used in solving the 8 queens problem?
What are the topics in data structures?
Why arraylist is not efficient for manipulation?
difference between the run time polymorphism and compile time poly morphism and about virtual function.
2 Answers CybAge, Innowe, TCS, Wipro,
Can hashmap have duplicate keys?
What is sorting an array?
What is a Breadth First Search? Give a few of its applications.
Which language is best to learn data structures?
Provide an algorithm to reverse a linked list without using recursion.
How do you implement a stack?