+
Curated problems indexed
across 8 sheets
Interview pattern families
in AI retrieval corpus
Curated problem sheets
Blind 75, NeetCode, Striver and more
Caching layers
built to scale to millions
Background
Built for myself.
Then productised.
LeetRun started as a personal frustration. Preparing for technical interviews meant juggling multiple spreadsheets, manually tracking which problems from which sheet I had solved on LeetCode, and having no clear signal on which topics I was actually weak in relative to real interview patterns.
The core insight was that the data already existed - LeetCode exposes a GraphQL API with full solve history. The problem was nobody had built a platform that used it properly: auto-checking every curated sheet, surfacing pattern-level weaknesses, and wrapping it in something that made daily practice feel like progress rather than a grind.
I built LeetRun as a SaaS product from scratch - database design, caching architecture, AI integration, gamification, multiplayer rooms, and full observability - with every technical decision documented and production-grade.
Architecture
How it was built
Stack
Technology used
Frontend
Auth and Data
AI
External APIs
Observability
Infrastructure
The core insight
"An AI mentor is only as good as its context window. It needs to know exactly what the user solved yesterday, what patterns they struggle with, and when to stop being nice and push them to execute."
The defining feature of LeetRun isn't the sync-it's the context engine. When a user asks the AI a question, we don't just pass the prompt. We intercept the request and dynamically compile a context snapshot containing their weakest topics, their current LeetCode streak, active daily quests, and their overall progress on key interview patterns. The AI (powered by Gemini/Groq) responds not as a generic chatbot, but as a hyper-personalized technical coach.
Outcome
Where things stand
LeetRun is a fully operational, live SaaS platform that has fundamentally transformed how users prepare for technical interviews. The tedious process of manually tracking progress across disparate sheets has been entirely automated.
With 1,500+ curated problems seamlessly synced to live LeetCode data, users receive real-time analytics on their performance. The gamification layer-featuring XP, daily quests, and global leaderboards-has successfully shifted interview preparation from an isolated grind to a competitive, engaging daily habit.
The implementation of aggressive, multi-layered caching ensures that even with complex database queries and real-time AI context generation, the platform remains highly performant and incredibly resilient under load.
More cases