3. Insertion Sort #

Created Sunday 05 January 2020

Hence worst case time complexity is 1 + 2 + … + n = O(n^2^).

Best case: O(n) - because it is naturally adaptive. Worst case: O(n^2^)