Computers are fast.

Let’s find out how well you know computers! All of these programs have a variable NUMBER in them. Your mission: guess how big NUMBER needs to get before the program takes 1 second to run.

You don’t need to guess exactly: they’re all between 1 and a billion. Just try to guess the right order of magnitude!

This is basically an interactive version of Latency Numbers Every Programmer Should Know, originally coined by Jeff Dean.