MCPcopy Create free account
hub / github.com/geekcomputers/Python / Quick sort.py

File Quick sort.py

Sorting Algorithms/Quick sort.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def partition(arr, low, high):
2 i = low - 1 # index of smaller element
3 pivot = arr[high] # pivot
4

Callers

nothing calls this directly

Calls 1

quickSortFunction · 0.85

Tested by

no test coverage detected