Fastest way to sort in Python

后端 未结 9 2024
太阳男子
太阳男子 2021-02-13 02:56

What is the fastest way to sort an array of whole integers bigger than 0 and less than 100000 in Python? But not using the built in functions like sort.

Im looking at th

9条回答
  •  有刺的猬
    2021-02-13 03:08

    The built in functions are best, but since you can't use them have a look at this:

    http://en.wikipedia.org/wiki/Quicksort

提交回复
热议问题