Created
September 8, 2023 22:05
-
-
Save YK-Unit/85a7d8e4837b332d6ec149d8d4b457ac to your computer and use it in GitHub Desktop.
代码的简介
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
这是一个使用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