MCPcopy Create free account
hub / github.com/BeeBombshell/Python-DSA / quickSort

Function quickSort

Sorting Algorithms/quick_sort.py:34–40  ·  view source on GitHub ↗
(array, low, high)

Source from the content-addressed store, hash-verified

32
33
34def quickSort(array, low, high):
35 if low < high:
36 pi = partition(array, low, high)
37
38 quickSort(array, low, pi - 1)
39
40 quickSort(array, pi + 1, high)
41
42
43A= [4,6,2,7,8,3,0]

Callers 1

quick_sort.pyFile · 0.85

Calls 1

partitionFunction · 0.85

Tested by

no test coverage detected