InterviewSolution
Saved Bookmarks
| 1. |
Explain insertion sort. |
|
Answer» Every repetition of insertion sort removes an element from the input data, inserting it into the correct position in the already-sorted list until no input elements remain. The choice of which element to remove from the input is arbitrary and can be made using almost any choice algorithm. |
|