diff --git a/QuickSort.py b/QuickSort.py new file mode 100644 index 0000000..70feef3 --- /dev/null +++ b/QuickSort.py @@ -0,0 +1 @@ +lambda L: [] if L==[] else qsort([x for x in L[1:] if x< L[0]]) + L[0:1] + qsort([x for x in L[1:] if x>=L[0]])