implement a terrible sort that still looks vaguely plausible
here's my entry, a beautiful, elegant functional sort that's O(n^3), doesn't handle duplicate values correctly, and rapidly exhausts the recursion limit
def bsort(a):
return [min(a)] + bsort([x for x in a if x != min(a)]) if len(a) > 0 else []
programming ""challenge"" Show more
@mtknn stooge sort?