Which one of the following is the tightest upper bound that represents the number of swaps
required to sort n numbers using selection sort?
- AO(log n)
- BO(n)
- CO(n log n)
- D\(O(n^{2})\)
Solve it on GATE DA practice →More Searching & Sorting Algorithms problems