User:Kibje: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="python" line='line'> | ||
def quickSort(arr): | |||
less = [] | |||
pivotList = [] | |||
more = [] | |||
if len(arr) <= 1: | |||
return arr | |||
else: | |||
pass | |||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 11:10, 10 July 2018
def quickSort(arr): less = [] pivotList = [] more = [] if len(arr) <= 1: return arr else: pass