Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Algorithms Searching, Sorting and Hashing Sorting
Abhinav wants to find the largest number in a given list of 20 numbers. Which of the following is an efficient approach to do this?
1
Use bubble sort to sort the list in descending order and then print the first number of the series.
2
Use selection sort to sort the list in descending order and then print the first number of the series.
3
Implement one iteration of selection sort for descending order and print the first number in the series.
4
None of these