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 / mukta majumder

O(max(f(n),g(n))

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Difference between sax and dom parser?

570


Why is sorting necessary?

482


What are hashmaps good for?

526


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

538


What is red black tree in data structure?

517






Explain the common uses of threaded binary tree.

601


Can arraylist have duplicates?

525


What is a subtree in data structures?

512


How efficient is binary search?

468


Define 2-3 tree?

564


Can arraylist hold duplicates?

490


What is a bubble sort and how do you perform it?

661


State the difference between arrays and linked lists?

543


Differentiate between arraylist and vector.

855


Briefly explain recursive algorithm?

630