What are the advantages of insertion sort

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
0
Sanisha Maharjan
Jan 23, 2022
More related questions

Questions Bank

View all Questions