One Byte Explainer: Big O notation

dchaley

David Haley

Posted on June 23, 2024

One Byte Explainer: Big O notation

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

💖 💪 🙅 🚩
dchaley
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.

Related

Dev challenge - Algorithms
devchallenge Dev challenge - Algorithms

June 24, 2024

One Byte Explainer: Large Language Models
Data Compression: Under 256 characters
devchallenge Data Compression: Under 256 characters

June 24, 2024