Sandbox3
Jump to navigation
Jump to search
2 // SyntaxHighlighter makes your code snippets beautiful without tiring your servers.
3 // http://alexgorbatchev.com
4 var setArray = function(elems) {
5 this.length = 0;
6 push.apply(this, elems);
7 return this;
8 }
<h1>/usr/bin/env python3</h1>
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr
else:
pass
1 def quick_sort(arr):
2 less = []
3 pivot_list = []
4 more = []
5 if len(arr) <= 1:
6 return arr
7 else:
8 pass