How would you check if a binary tree is BST or not ? Write a program.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Data Structures Interview Questions

What are the collision resolution methods?

0 Answers  


Convert following infix expression to the prefix expression. a - b + c * (d / e - (f + g))

33 Answers   Amazon, Microsoft, Star Technologies, Sun Microsystems, Wipro,


What is the difference between array and list?

0 Answers  


Will arraylist maintain insertion order?

0 Answers  


Can we put null value in hashmap?

0 Answers  






What is the complexity of adding an element to the heap?

0 Answers  


What is vector and types of vector?

0 Answers  


Explain the Complete structure of hashmap along with the basic coding of the hashmap internal implementation.

0 Answers   Expedia,


What is modcount in hashmap?

0 Answers  


Describe linear probing with an example.

0 Answers  


What is the order of selection sort?

0 Answers  


Q#1: An algorithm is made up of 2 modules M1 and M2.If order of M1 is F(n) and order of M2 is g (n) then what is the order of the algorithm. Q # 2 : How many binary trees are possible with 3 nodes? with 4 nodes?

4 Answers  


Categories