Sorting 1 million 8-decimal-digit numbers with 1 MB of RAM
There is one rather sneaky trick not mentioned here so far. We assume that you have no extra way to store data, but that is not strictly true. One way around your problem is to do the following horrible thing, which should not be attempted by anyone under any circumstances: Use the network traffic to … Read more