One Byte Explainer: Big O notation
David Haley
Posted on June 23, 2024
This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer.
Explainer
My code runs in seconds for 3 inputs but takes hours for 100, why? Consider: 3 people can all shake hands in 3 exchanges. But for 100 people (33x) it takes 4,950 (1650x)! Big O math represents runtime’s growth at scale by only keeping its main factors.
Additional Context
TEAM MEMBERS: @dchaley @lynnlangit
💖 💪 🙅 🚩
David Haley
Posted on June 23, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.