Big O Gym

Read the code, type the complexity, learn what trips you up.

Free interview prep for time and space complexity analysis

Big O Gym is a free practice tool for engineers preparing for technical interviews. Read a code snippet in Python or JavaScript, type your guess for the time and space complexity, and get instant feedback on whether you got it right, almost right (you forgot to simplify), or wrong (and why).

What you'll practice

56 problems. Free. No signup.