Procrastisort
I’ve invented a brand new sorting algorithm, called procrastisort.
def procrastisort(lst):
while True:
pass
Given a list, it avoids ever doing anything with that list.
It operates in O(∞)
time, and O(1)
space.
Whitepaper forthcoming.