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 / anonymous
30 binary trees 10 for each 1,2 and 3.
only 1 binary search tree as with 2 as root node 1 as right child and 3 as left child.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which is better bubble sort or selection sort?
Data structure used to implement a menu
What is the difference between arraylist and linkedlist?
Does linkedhashset allow null values?
Define secondary clustering?
Does hashset allow duplicates?
What is the difference between Array and LinkedList?
What are the difference between malloc() and calloc()?
Define biconnectivity?
What's the difference between an array and vector?
What is binary tree in discrete mathematics?
Why do we use sorting?
Explain in brief a linked list.
Differentiate between set and map.
What is breadth first tree?