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 / vipul
number of binary search tree= (2n)!/{n!*(n+1)!}
and number of binary tree=(2n)!/(n+1)!
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why is hashset used?
What do you mean by breadth first search (bfs)?
What is placement new in data structures?
What is data structure and why it is important?
Give a real time example of stack
Is array of data structure?
What is sort order?
Explain merge sort algorithms.
Is quicksort recursive?
What is the difference between array list and vector list?
Treemap orders the elements on which field?
Explain about circular linked list?
What do you mean by tree edge?
What is hashing with example?
What is the method to find the complexity of an algorithm?