GATEverse Practice, past papers & mock tests
GATE 2016 · CS2 - Afternoon
AlgorithmsSortingeasyMCQ1 mark
If the input sequence is already sorted in ascending order, which of the following are TRUE? I. Quicksort runs in Θ(n^2) time II. Bubblesort runs in Θ(n^2) time III. Mergesort runs in Θ(n) time IV. Insertion sort runs in Θ(n) time
Save your progress

Related Algorithms PYQs