EdTech · Shipped
loopin
Crack DSA interviews, one loop at a time.
Overview
Crack DSA interviews, one loop at a time. An edtech platform for college students and engineers prepping for technical interviews, LeetCode/Coding Ninjas-style.
What I built
Structured DSA sheets (A2Z, SDE, 79 last-minute, CP) organized Step → Lecture → Problem, with progress bars
In-browser Monaco code compiler that runs arbitrary code against custom stdin via a sandboxed executor
Per-user profile with streaks, XP, and topic/difficulty mastery tracking
Architecture
A pnpm workspaces and Turborepo monorepo with apps/api (Fastify, Prisma, PostgreSQL), apps/web (React, Vite, Monaco, TanStack Query) and packages/shared.
The shared package holds zod schemas, a typed API client and the SM-2 spaced-repetition algorithm, so the front end and API cannot drift apart.
Code runs through Judge0 or Piston proxied server-side, so execution keys never reach the browser.
The AI tutor uses Claude with streaming and prompt caching for graduated hints, explanations, code review and mock interviews.
Decisions and trade-offs
Shared contracts over duplicated types
One zod schema defines each request once and both sides use it, which catches breaking changes at compile time.
Sandboxed execution behind the server
Running arbitrary user code is delegated to a sandboxed executor and never run on the app server.
Results
Four structured DSA sheets (A2Z, SDE, 79 last-minute, CP) organised Step → Lecture → Problem, with progress, streaks, XP and badges.
Status: Phases 1 to 3 (backend and web) are built. System design content and a React Native mobile client are planned, not built.