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 / kanha
for binary tree answer is n! ways that is 3!=6
For Binary search tree n ways..that is 3
| Is This Answer Correct ? | 17 Yes | 52 No |
Post New Answer View All Answers
How to sort 1 million floating point numbers?
What is a hash index?
What are three common types of traversals?
Explain Array
What is shell sort in data structure?
What is immutablelist?
What do you mean by spanning tree?
How to cut or remove an element from the array?
Which is faster quick sort or merge sort?
In what areas do data structures are applied?
What are the disadvantages of linear list?
What is ascii sort order?
What is queue in data structure?
Tell me is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Does hashmap allow duplicate keys?