labuladong / fucking-algorithm

刷算法全靠套路,认准 labuladong 就够了!English version supported! Crack LeetCode, not only how, but also why.
https://labuladong.online/algo/
125.99k stars 23.23k forks source link

快速排序代码在leetcode超时了 #1606

Closed zhaoboatuconn closed 3 months ago

zhaoboatuconn commented 4 months ago

请在提交 bug 之前先搜索

出错的题目链接

https://leetcode.com/problems/sort-an-array

报错信息

image

你是否愿意提交 PR 修复这个 bug?