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:
parent
b71519f1e8
commit
9b84fd3e60
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user