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
What is difference between array and arraylist?
Define the term “percolate down”?
What is an example of an array?
What is binary tree? Explain its uses.
What is the use of tree data structure?
Is quicksort a stable sorting algorithm?
How do you do a mergesort?
Explain Linked List
What is a threaded binary tree? Explain its operation with example?
How is a hashset implemented?
What is the types of data structure?
Define linear probing?
How would you use bsearch() function to search a name stored in array of pointers to string?
What is a data structure definition?
What are the 3 types of measurement?