What is a Comparator in JavaScript? (and why sorting algorithms depend on it)Why JavaScript's default sort fails with mixed-case strings — and how a custom comparator fixes it.7 min read·buggleboy.hashnode.devJun 28
The else Suite in Python that nobody told me about (it's not just for if)The else clause in Python isn't just for if statements — it can also work with while loops. Here's what I learned about this misunderstood feature4 min read·buggleboy.hashnode.devJun 21
How does one extract and print every digit of a number backwards i.e. reversing a given numberWhy breaking down a number digit by digit helped me understand loops — and why I forced myself to solve it without AI3 min read·buggleboy.hashnode.devJun 14
The Leap Year rule that confused me for yearsWhy checking divisibility by 4 isn't enough — and the century rule that finally made it click4 min read·buggleboy.hashnode.devJun 7