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 / mousumi
binary search tree = 5
1 1 2 3 3
\ \ / \ / /
2 3 1 3 1 2
\ / \ /
3 2 2 1
binary tees = (2^3)-3=5
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What is pointer in data structure?
What is data structure what is need of it?
What is the relationship between a queue and its underlying array?
What is difference between an Array and ArrayList?
What is binary tree example?
Which list does not allow duplicates?
What is sorting rule in shapes?
What is the difference between arraylist and linkedlist?
Can I provide array size dynamically?
What is data structure and its operations?
Explain the uses of b+ tree.
How many types of data structure are there?
What do you mean by data and data structure?
Why do we use hashset?
Is binary tree balanced?