GATEverse
← GATE CSE 1996

Q2.15

MCQMarks unknown

Quick-sort is run on two inputs shown below to sort in ascending order taking first element as pivot Let C1C_1 and C2C_2 be the number of comparisons made for the inputs (i) and (ii) respectively. Then, C1<C2C_1 < C_2 C1>C2C_1 > C_2 C1=C2C_1 = C_2 we cannot say anything for arbitrary nn

Sign in to save attempts.

Loading…