Question DSA-SORT-0015
MediumWhich sort is generally fastest in practice for large arrays in memory, despite its O(n²) worst case?
- A.
Insertion sort
- B.
Bubble 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 is generally fastest in practice for large arrays in memory, despite its O(n²) worst case?
Insertion sort
Bubble sort
Sign up free to see the answer and a step-by-step explanation.
Selection sort
Quick sort