Recently while practicing interval problems, I noticed something interesting:
A lot of interview questions are actually small twists of the same underlying pattern.
Take the classic Merge Intervals problem:
intervals = 1,3, 2,5, 6,8, 7,9
The fir...
A few years ago, machines were… decent at language.
They could read words. Predict next words.
But they didn’t really understand relationships.
They read like this:
➡️ One word at a time
➡️ Forgetting what came before
➡️ Struggling with long conte...
!http://Linear regression is often the first model we learn !http:// and the one we misuse the most.
Not because it’s complicated, but because it’s too easy to run.
A few lines of code, a decent score, and we move on.
But linear regression isn’t ju...
In DSA, some of the most elegant solutions come from simple ideas applied smartly. One such gem is Prefix Sum — a concept that can turn a brute force problem into an efficient one-liner.
Think of prefix sum like a running total that saves you from r...
Ever wondered how apps and games show instant totals—like scores, analytics, or stats without lag?
Behind that speed often hides a humble hero: Prefix Sum.
Imagine this:
You’ve got an array of numbers and multiple queries like:
“What’s the sum of v...
Array rotation is one of those deceptively simple problems that reveal how well you really understand arrays and modular arithmetic. Let’s explore intuitive, language agnostic ways to perform left and right rotations efficiently, without getting lost...
When we write algorithms, one of the key things to think about is how much memory our solution needs. You might have heard terms like “in-place” and “extra space” — but what do they really mean?
Let’s break it down simply
In-Place Algorithms
An i...
Hey friends,
I wanted to share something a little personal today, because I think a lot of us in tech can relate. Working in this field is exciting, but let’s be honest, it also comes with long hours, deadlines, screen fatigue, and that constant pre...
Why Writing Efficient Code Still Matters Even in the Age of AI ?
We live in a time where you can ask an AI to write you code But If you aren’t comfortable reading and understanding that code, you can easily get stuck in the loop of:
“What’s wron...
I’m a solo builder. I’m looking to connect with like-minded devs who want to explore startup ideas together — maybe even apply to Y Combinator if it feels right.Area mainly is AI
Not pitching any fixed idea right now — just open chats, bouncing thou...
I was facing this annoying issue in Flutter music player:
When you tap songs quickly like switching from one to another, playback breaks, mini player disappears, and you have to tap again to play. It was 2-3 times out of every 10 switch.
It took m...
A dev shipped a feature using AI help. Clean code, no errors, delivered on time. Looked perfect — until it crashed under load.
Digging deeper, the issue was hidden inside a hashmap — an On² performance bottleneck the AI had quietly introduced. But t...
Hi folks. I’ve been thinking a lot lately about how vibrant and inspiring the developer community is — especially when it comes to open source contributions and passion projects people work on outside of their 9–5.
So I wanted to know - Are you wo...
If you're building a music app with onaudioquery, it’s tempting to call querySongs everywhere—home screen, playlists, search, etc. But this means repeated storage scans → slower UI, battery drain, and unnecessary complexity.
The Wrong Way – Querying...
Ever had your Flutter screen layout shift or break when your text changes length?
The Problem
In my music player screen, long song titles caused the UI to push down — shifting the seek bar & controls, or worse, throwing an overflow error.
Here’s ...
I recently ran into a subtle but super frustrating issue in my Flutter music player app using justaudio and audioservice. It had to do with updating the playback queue when selecting a new song — and I want to share how I fixed it.
The Problem
Le...
The music app I vibe coded is working fine but I wanted to improve it. So I decided to add some extra features like playing in the background so that I can control playback from notification bar. Cool right ?
I also wanted to refactor my code becaus...
Not long ago, learning to code meant starting with fundamentals, reading documentation, and slowly building projects from scratch.
Today, the process feels completely different.
I often begin by asking an AI to generate the code. Then, when somethi...
I had been trying to build small personal tool to strip noise from video backgrounds. Along the way I bumped into FFmpeg—the opensource package under so much video tooling—and learned parts of it aren’t actively maintained like you’d expect for somet...
Ever noticed how even the simplest apps want access to everything?
I just wanted to play music — not hand over my call logs.
Even lightweight music players come loaded with creepy permission requests. Contacts? Call data? Overlay access? Just to hit...