Which of the following sorting algorithm required the least swap to sort the following list?
L1: [52,18,16,12,36,26,22]
1
Insertion sort
2
Selection sort
3
Bubble sort
4
Same for bubble and selection sort.
Which of the following sorting algorithm required the least swap to sort the following list?
L1: [52,18,16,12,36,26,22]