Question DSA-SORT-0047
MediumWhich sort makes the minimum number of swaps (at most n − 1)?
- A.
Selection sort
- B.
Insertion sort
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Sorting question
Which sort makes the minimum number of swaps (at most n − 1)?
Selection sort
Insertion sort
Sign up free to see the answer and a step-by-step explanation.
Quick sort
Bubble sort