mirror of
https://gitlab.com/magicalsoup/Highschool.git
synced 2025-01-23 16:11:46 -05:00
Update Insertion Sort.md
This commit is contained in:
parent
552044812a
commit
bee1e0a88b
@ -41,7 +41,7 @@ for(int i=1; i<numbers.length; i++) {
|
|||||||
}
|
}
|
||||||
numbers[j + 1] = key;
|
numbers[j + 1] = key;
|
||||||
}
|
}
|
||||||
|
```
|
||||||
## Attributes
|
## Attributes
|
||||||
- Stable
|
- Stable
|
||||||
- Instead of swapping elements, all elements are shifted one position ahead
|
- Instead of swapping elements, all elements are shifted one position ahead
|
||||||
|
Loading…
Reference in New Issue
Block a user