Data Structure (2130702)

BE | Semester-3   Summer-2017 | 05/31/2017

Q1) (13)

Consider a situation where swap operation is very costly. Which of the sorting algorithms should be preferred so that the number of swap operations are minimized in general?

Selection sort makes O(n) swaps which is minimum among all sorting algorithms