1.

Give the correct matching for the following pairs:A. O(log n) 1. Selection sortB. O(n) 2. Insertion sortC. O(nlog n) 3. Binary searchD. O(n^2) 4. Merge sortcodes: A B C Da. 3 1 2 4b. 3 1 4 2c. 1 3 4 2d. 1 4 3 2(A) a(B) b(C) c(D) d

Answer»


Discussion

No Comment Found

Related InterviewSolutions