Why Writing 100 Lines of Code can be Better than just 2 - A Gentle Introduction to Time Complexity
🎯 Introduction
Have you ever played a logic puzzle game where you're given a set of objects, and one of them is slightly different — maybe heavier or lighter — and you need to find it with as few checks as possible?
Let’s take a classic example:
Yo...
why-writing-100-lines-of-code-can-be-better-than-just-2.hashnode.dev3 min read