How strong are your concepts in data structure? Can you score well on this 'Advanced algorithms and complexity in data structures quiz'? Try the quiz and see for yourself. It contains the top 15 practice questions related to advanced algorithms and time complexities. The advanced data structure and algorithms are used for storing, managing, and organizing data and information to make it more efficient and easier to access. Learn and test your understanding of it with the quiz below.
O(N)
O(N2)
O(N3)
O(N4)
None of the above
O(N)
O(N2)
O(N3)
O(N4)
None of the above
O(N4)
O(N5)
O(N6)
O(N7)
None of the above
T1(n) + T2(n) = O(max(f(n), g(n)))
T1(n) * T2(n) = O(f(n) * g(n))
T1(n) / T2(n) = O(f(1))
T1(n) = O(T2(n))
None of the above
O(logN)
O(N)
O(NlogN)
O(N2)
Find an element in an unsorted array
Find an element in a sorted array
Find an element in a binary tree
None of these
Inorder
Postorder
Preorder
None of the above
Inorder
Postorder
Preorder
None of the above
With maximum number of vertices connected to it
With minimum weight so that cost of MST is always minimum
That does not introduce a cycle
None of the above
Heap sort
Selection sort
Shell sort
Merge sort
Insertion sort
Quick sort
5
1
3
7
Should be n for double-hashing
Should be a prime number greater than n for linear probing
Should be a prime number and less than 2n for quadratic probing
None of these
Insertion sort
Selection sort
Merge sort
Shell sort
O(n) worst case and O(1) average case
O(log n) worst case and O(log n) average case
O(n) worst case and O(n log n) average case
O(log n) worst case and O(1) average case
O(n log n) worst case and O(n log n) average case
Heapsort
Insertion sort
Mergesort
Quicksort
Shellsort
Wait!
Here's an interesting quiz for you.