擅长:python、mysql、java
<p>这是因为Python使用<a href="https://en.wikipedia.org/wiki/Timsort" rel="nofollow noreferrer">Timsort</a>,这是一种基于marge\u排序和insertion\u排序的自适应排序算法。时间复杂度是</p>
<blockquote>
<p>O(nlogn)</p>
</blockquote>
<p>用于python中的Sorted()。你知道吗</p>
<p>这就是为什么你的工作比你的快</p>