Difference between revisions of "User:Eric"
Jump to navigation
Jump to search
Eric
| Line 10: | Line 10: | ||
== Code == | == Code == | ||
<syntaxhighlight lang="python" style="border: 1px dashed blue;"> | |||
def quick_sort(arr): | |||
less = [] | |||
pivot_list = [] | |||
more = [] | |||
if len(arr) <= 1: | |||
return arr | |||
else: | |||
pass | |||
</syntaxhighlight> | |||
Revision as of 14:29, 6 March 2022
Eric's Page
Hi, welcome.
Read
Math
Code
def quick_sort(arr): less = [] pivot_list = [] more = [] if len(arr) <= 1: return arr else: pass