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
What are the collision resolution methods?
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?
Will arraylist maintain insertion order?
Can we put null value in hashmap?
What is the complexity of adding an element to the heap?
What is vector and types of vector?
Explain the Complete structure of hashmap along with the basic coding of the hashmap internal implementation.
What is modcount in hashmap?
Describe linear probing with an example.
What is the order of selection sort?
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?