MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / InsertionSort.py

File InsertionSort.py

InsertionSort.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def insertionSort(alist):
2 for key, item in enumerate(alist):
3 index = key
4 while index > 0 and alist[index-1] > item:

Callers

nothing calls this directly

Calls 2

insertionSortFunction · 0.85
insertionSort2Function · 0.85

Tested by

no test coverage detected