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

Define depth and height of a tree?

1124


Is bucket sort stable?

887


State the demerits of linked representation of binary trees?

936


Why null is not allowed in treemap?

988


Which is better than array and linked list?

950


How to reference all the elements in a one-dimension array?

1286


Differentiate linear from non linear data structure?

985


How remove all from arraylist?

943


What is the difference between a Stack and a Queue.

972


where do you use double linked list?

1067


Does treeset remove duplicates?

934


What should I learn first data structures or algorithms?

1011


Describe what is Node in link list? And name the types of Linked Lists?

923


What is complete binary tree and almost complete binary tree?

819


What is an recursive algorithm?

993