Fundamental Algorithms8 sections · 291 units
Open in CourseQuiz: Basic Sorting
Test your understanding
Check Your Understanding
You have an array that is already almost sorted (only a few elements are out of place). Which algorithm performs best?
- A.They all perform the same
- B.Selection sort
- C.Insertion sort
- D.Bubble Sort