Posted on Apr 20, 2020

30 Days of Algorithms – Day 2: Insertion sort

Posted in 30 days of algorithms, Sorting Algorithms

Insertion sort is a simple sorting algorithm. Though it may not be much efficient for a larger input size, it has some advantages. Like it has a simple implementation. Jon Bentley showed a three-line version in C programming language. It is also more efficient the bubble sort or selection sort. It is an adaptive...

Scroll to top