Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How many types of data structures are used?

988


Is selection sort greedy?

891


Mention a few applications of linked lists?

930


What happens if we put a key object in a hashmap which exists?

954


Why do we need arrays if all the operations that are performed on arrays can be performed on arraylist?

867


What is worst case complexity algorithm?

913


Differentiate null and void?

877


What is the similarity between a Structure, Union and enumeration?

1023


Is arraylist heterogeneous?

893


What is difference between stack and queue?

922


What is best time complexity?

853


an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].

988


What's the difference between a hashtable and a hashmap?

917


Is hashmap keyset ordered?

1011


Which is the parent class of deque class?

937