How many different binary trees and binary search trees can
be made from three nodes that contain the key values 1, 2 & 3?
Answer Posted / gautham
The Catalan Numbers should give an answer.. The answer is
C(3)= 5.
| Is This Answer Correct ? | 48 Yes | 21 No |
Post New Answer View All Answers
Is vector a collection?
Are the expressions arr and &arr same for an array of integers?
What are splay trees?
What are stacks? Give some of its applications.
What is difference between array and string?
Differentiate between singly and doubly linked lists?
Define left-in threaded tree?
Define structure property in a heap?
Is stack a dynamic data structure?
What do you mean by shortest path?
Can array store heterogeneous data?
Explain the term base case?
When will you use array over arraylist?
Why is selection sort used?
List the types of tree.