Skip to content

Instantly share code, notes, and snippets.

@YK-Unit
Created September 8, 2023 22:05
Show Gist options
  • Save YK-Unit/85a7d8e4837b332d6ec149d8d4b457ac to your computer and use it in GitHub Desktop.
Save YK-Unit/85a7d8e4837b332d6ec149d8d4b457ac to your computer and use it in GitHub Desktop.
代码的简介
这是一个使用Python实现快速排序的基本示例:
def quicksort(arr):
if len(arr) <= 1:
return arr
pivot = arr[len(arr)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment