Logarithms vs Exponentials: The Simple Idea Behind O(log n) and O(2ⁿ)
This story is from 2026-09-16. It is preserved in the archive; the latest stories are on the live feed.
When learning DSA and Big-O, two mathematical concepts appear again and again: Logarithms and exponentials . They may sound complicated, but the basic idea is actually simple: Logarithm asks: “How many times can I divide?” Exponential asks: “How many times can I multiply?” Once you understand this,…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-16 02:50 · DEV Community — AI
Logarithms vs Exponentials: The Simple Idea Behind O(log n) and O(2ⁿ)