4 views

Which of the below input gives best case time for selection sort?

1. All of the given options take same time
2. $0, 1, 2, 3, 4, 5, 6, 7, 8, 9$
3. $3, 4, 6, 2, 0, 1, 8, 7, 9, 5$
4. $9, 8, 7, 6, 5, 4, 3, 2, 1, 0$
in Others | 4 views