1
0
mirror of https://gitlab.com/magicalsoup/Highschool.git synced 2025-02-02 21:01:46 -05:00

Update Insertion Sort.md

This commit is contained in:
James Su 2019-11-12 16:09:16 +00:00
parent b71519f1e8
commit 9b84fd3e60

View File

@ -18,7 +18,7 @@
- Duplicate the larger element in to one ahead of its current index each time the key is tested - Duplicate the larger element in to one ahead of its current index each time the key is tested
- By looping this, it makes space and inserts the key into that correct position - By looping this, it makes space and inserts the key into that correct position
## Pseudo0code ## Pseudo code
``` ```
for x = 1 : n for x = 1 : n
key = list[x] key = list[x]