User:Tachyony: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Tachyony") |
|||
| Line 1: | Line 1: | ||
Tachyony | Tachyony | ||
| + | |||
| + | <syntaxhighlight lang="python" style="border: 3px dashed blue;"> | ||
| + | def quick_sort(arr): | ||
| + | less = [] | ||
| + | pivot_list = [] | ||
| + | more = [] | ||
| + | if len(arr) <= 1: | ||
| + | return arr | ||
| + | else: | ||
| + | pass | ||
| + | </syntaxhighlight> | ||
Latest revision as of 00:24, 15 January 2022
Tachyony
def quick_sort(arr): less = [] pivot_list = [] more = [] if len(arr) <= 1: return arr else: pass