engineering recuitment UKPSC Polytechnic Lecturer Mock Test 2024 Algorithms Searching, Sorting and Hashing Sorting
Sort the following list using the Selection Sort algorithm.
H, V, A, T, L, N, K
What is the output of the algorithm after the third pass?
1
A, V, T, H, L, N, K
2
A, T, H, K, L, N, V
3
A, V, H, T, L, N, K
4
A, H, K, T, L, N, V