Update insertionsort.md
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
## Insertion Sort
|
||||
|
||||
On a very basic level, an insertion sort algorithm contains the logic of shifting around and inserting elements in order to sort an unordered list of any size. The way that it goes about inserting elements, however, is what makes insertion sort so very interesting!
|
||||
|
||||
|
||||
## Implementation
|
||||
```python
|
||||
arr = [] # list to sort
|
||||
|
||||
Reference in New Issue
Block a user