All mock tests are FREE till 31 December — register to save your progress

The maximum number of comparisons needed to sort 9 items using radix sort is (assume each item is 5 digit octal number) :

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. 360

Explanation

Counting the work as n × digits × radix: 9 × 5 × 8 = 360.

More Data Structures and Algorithms questions