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

order of the algorithm is f(n)+g(n)



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 ?    4 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is frozenset?

848


Explain binary searching, Fibonacci search.

904


What is indexing an array?

974


How do you use the sort function?

804


How many types of searching are there in data structure?

793


Which sorting technique is faster?

846


Which is the parent class of linkedhashset class?

871


What is an expression tree?

907


What is a concurrenthashmap?

975


What is the complexity of arrays sort?

874


Why hashmap is faster than hashtable?

963


Is hashmap part of collection?

900


Why insertion is faster in linked list?

790


Can we use ordered set for performing binary search?

867


If I try to add enum constants to a treeset, what sorting order will it use?

1105