5 lines
87 B
Python
5 lines
87 B
Python
def quicksort(arr):
|
|
pivot = arr[0]
|
|
for item in arr[1:]:
|
|
if item > pivot:
|
|
|