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 / baljinder

1oth answer is xactly correst ie,BST=5 & BT=30

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an array vs list?

476


Can you distinguish between ArrayList and Array?

576


Why is quicksort not stable?

445


Which is better hashset or treeset?

483


Does linkedhashset allow null values?

492






Is a hash table a map?

477


Which is faster hashmap or hashset?

462


Write a program for Sorting an Array. Which sorting will you prefer?

576


Can we modify final arraylist?

510


What are the types of array operations?

492


What is difference between hashmap and map?

443


What is time complexity of binary search?

437


What are data and data types?

490


Explain set interface?

564


What is the complexity of adding an element to the heap?

472