1.

Time complexity of Merge Sort Algorithm and Binary Search Algorithm are respectively:

A. O(log2 n) and O(n log2 n)
B. O(n log2 n) and O(log2 n)
C. O(n2) and O(log2 n)
D. O(2n) and O(n2)
Answer» C. O(n2) and O(log2 n)


Discussion

No Comment Found