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...

Q#1: An algorithm is made up of 2 modules M1 and M2.If
order of M1 is F(n) and order of M2 is g (n) then what is
the order of the algorithm.

Q # 2 : How many binary trees are possible with 3 nodes?
with 4 nodes?

Answer Posted / mousumi

no of binary trees possible with n nodes is 2^n-n

3->2^3-3=5 nodes

4->2^4-4=12 nodes

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is long data type?

970


Which is faster hashmap or hashtable?

912


What is return map?

949


What is a Stack? Explain with example?

959


Why is bubble sort stable?

840


Differentiate between list and map.

1009


Define the tree data structure.

880


What exactly is a thread?

913


What are the types of algorithms?

967


What is the use of isEmpty() member methods?

973


Explain binary tree traversals?

917


Can you declare an array without assigning the size of an array?

1088


How many types of sorting algorithms are there?

889


If you are using c language to implement the heterogeneous linked list, what pointer type should be used?

1054


What is rule regarding overriding equals and hascode method?

900