One second code: Do YOU know how much your computer can do in a second?
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.
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! A few notes: If the answer is 38,000, both 10,000 and 100,000 are considered correct answers. The goal is to not be wrong by more than 10x :) We know computers have different disk & network & CPU speeds! We're trying to get you to tell the difference between code that can run 10 times/s…
saved by
related reading
- Numbers Every Programmer Should Know By Yearcolin-scott.github.io
- Intro - Putting the "You" in CPUcpu.land
- Coding Speed Testcodingspeedtest.com
- Teach Yourself Programming in Ten Yearsnorvig.com
- Competitive Programmer's Handbookcses.fi
- Arithmetic Game – Online Speed Drillarithmetic.zetamac.com
- How you can change the world by learning Data Structures and Algorithms | Adrian Mejia Blogadrianmejia.com
- HackerRank - Online Coding Tests and Technical Interviewshackerrank.com
- Spatialspatial-lang.org
- Memory access is O(N^[1/3])vitalik.eth.limo
- How to overcome Time Limit Exceed(TLE) - GeeksforGeeksgeeksforgeeks.org
- Get better at programming by learning how things workjvns.ca