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

iam sorry i had given the wrong answer above....

its O(f(n)*g(n)) or O(max(f(n),g(n))


2^n -n so its 5 and 12 nodes respectively.....

Is This Answer Correct ?    34 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the time complexity of arraylist and linked list?

965


Is array a collection?

972


What is a concurrenthashmap?

1072


Write is a binary search tree? Write an algorithm and tell complexity?

948


What is weight balanced tree in data structure?

940


How does hashset work internally in java?

1057


How many types of data structure are there?

928


Does hashmap allow duplicate keys?

1062


Does hashset guarantee order?

1010


Define disjoint set adt?

992


Can you dynamically allocate arrays in expanded memory?

1095


Write a program to insert an element and in the specific position in the array?

960


Is map a data structure?

980


What is the time complexity of arrays sort?

911


Explain what are the major data structures used in the hierarchical data model?

1055