commit deletes
This commit is contained in:
parent
776bba907c
commit
372c577f83
233 changed files with 0 additions and 6724 deletions
|
|
@ -1,5 +0,0 @@
|
|||
QuickSort[x_List] := Module[{pivot},
|
||||
If[Length@x <= 1, Return[x]];
|
||||
pivot = RandomChoice@x;
|
||||
Flatten@{QuickSort[Cases[x, j_ /; j < pivot]], Cases[x, j_ /; j == pivot], QuickSort[Cases[x, j_ /; j > pivot]]}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue