Shortest Path Problem: Difference between revisions
From Rice Wiki
(Created page with "= Shortest =") |
No edit summary |
||
Line 1: | Line 1: | ||
= | <syntaxhighlighting lang="python" line> | ||
def quick_sort(arr): | |||
less = [] | |||
pivot_list = [] | |||
more = [] | |||
if len(arr) <= 1: | |||
return arr | |||
else: | |||
pass | |||
</syntaxhighlighting> |
Revision as of 01:19, 28 February 2024
<syntaxhighlighting lang="python" line> def quick_sort(arr): less = [] pivot_list = [] more = [] if len(arr) <= 1: return arr else: pass </syntaxhighlighting>