Gate CS-2008 Question Paper With Solutions

Q. 10  You are given the postorder traversal, P, of a binary search tree on the n elements 1, 2, …, n. You have to determine the unique binary search tree that has P as its postorder traversal. What is the time complexity of the most efficient algorithm for doing this?

Gate CS-2008 Question Paper With Solutions

Answer: (B)

Explanation:

Gate CS-2008 Question Paper With Solutions

Learn More:   Gate CS-2015-2 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here