(a) Write an algorithm to sort a list of numbers using Shell Sort. Ho…

Previous year question for Data Structures.

Question

(a) Write an algorithm to sort a list of numbers using Shell Sort. How it is different from Insertion sort?

Also explain the algorithm to sort the following list of numbers:

25, 57, 48, 37, 12, 92, 86, 33, 100, 7, 66

(b) Explain Radix Sort with an example.

Related pages

More PYQs on Shell Sort

Open on CachedInfo