Insertion Sort Algorithm in Python Quickly Explained

Published: 05 November 2020
on channel: SteffOverflow
128
7

In this weeks video I am explaining to you what the insertion sort is.
With the insertion sort is a sorting algorithm which can can sort arrays very easily.

What are the benefits of the insertion sort algorithm?
1. Easy to implement
2. performant on smaller sets of data which need to be sorted
3. performant on sets of data where not many elements need to be resorted

00:00 - Intro
00:33 - Explaining the insertion sort algorithm
02:38 - Coding the insertion sort in python
05:10 - Outro

The biggest disadvantage of the insertion sort is that it is really slow if you need to sort large sets of data were a lot of elements need to be resorted.
Anyway the insertion sort is a sorting algorithm you should know as a developer.

Website: https://www.steffoverflow.com

#sorting #algorithm #python #code #insertion #sort #explained #programming #coding #algorithms #algo


On this page of the site you can watch the video online Insertion Sort Algorithm in Python Quickly Explained with a duration of hours minute second in good quality, which was uploaded by the user SteffOverflow 05 November 2020, share the link with friends and acquaintances, this video has already been watched 128 times on youtube and it was liked by 7 viewers. Enjoy your viewing!