| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -74,7 +74,7 @@ def qsort(list): | |||
| 74 | 74 | return [] | |
| 75 | 75 | else: | |
| 76 | 76 | pivot = list[0] | |
| 77 | - less = [x for x in list if x < pivot] | ||
| 77 | + less = [x for x in list[1:] if x < pivot] | ||
| 78 | 78 | more = [x for x in list[1:] if x >= pivot] | |
| 79 | 79 | return qsort(less) + [pivot] + qsort(more) | |
| 80 | 80 | """ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments