Gate CS-2016-1 Question Paper With Solutions

Q. 23 The worst case running times of Insertion sort, Merge sort and Quick sort, respectively, are:

(A) Θ(n log n), Θ(n log n) and Θ(n2)

(B) Θ(n2), Θ(n2) and Θ(n Log n)

(C) Θ(n2), Θ(n log n) and Θ(n log n)

(D) Θ(n2), Θ(n log n) and Θ(n2)

Answer: (D)

Explanation:

Gate CS-2016-1 Question Paper With Solutions

Learn More:   Gate EC-2020 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here