1. What is the basic principle of insertion sort? | ![]() |
2. What are the time complexity and space complexity of insertion sort? | ![]() |
3. In which scenarios is insertion sort the most efficient? | ![]() |
4. How does insertion sort compare to other sorting algorithms like quicksort and mergesort? | ![]() |
5. Can insertion sort be used for linked lists, and if so, how? | ![]() |