Crabsort: O(n)? It's a small set. Although there is a 4 plate/ five customer contention problem to boot. I can't tell if Crabsort is stable though.
Fortunately, everyone leaves with some spaghetti even if it's not a 100% optimal solution.
Fortunately, everyone leaves with some spaghetti even if it's not a 100% optimal solution.