What are the advantages of insertion sort
3 years ago
Data Structure and Algorithm
Advantages
- Simplest sorting technique and easy to implement
- It performs well in the case of smaller
- It leverages the presence of any existing sort pattern in the list
Disadvantages
- Efficiency of O(n ) is not well suited for large sized lists
- It requires large number of elements to be shifted
Sanisha Maharjan
Jan 23, 2022