LeetCode Notes

Welcome.

Only submissions from the last 24/48 hours will be fetched.

Note: This is being run on the developer's personal system, which may be unavailable; new users or new submissions might have to wait a few hours. The system will update automatically, sit tight.

About this project

This is a personal knowledge base that automatically converts LeetCode submissions into structured revision notes, also giving you, personalized code reviews.

It is not available for mass public use yet, but you can try things out.


How it works

When a username is registered on the homepage, the system tracks that user’s recent accepted submissions. A scheduled pipeline runs daily, fetches new problems, generates structured notes using an LLM, and publishes them here as markdown pages under that user’s section.

Notes are only generated once per problem per user. Already-processed submissions are skipped on subsequent runs [for now].


The Mission

LeetCode tracks that a problem was solved. It does not help retain how it was solved over time. This system bridges that gap by converting each accepted submission into a structured note covering the pattern used, complexity, and the core insight that unlocks the solution.


Technical Stack

  • Workflow engine: n8n (WSL2)
  • Language: JavaScript + Bash
  • LLM: Gemini Flash
  • API: LeetCode GraphQL
  • State: meta.json
  • Output: Markdown, published via Quartz on GitHub Pages

TL;DR

Register username → automatic daily fetch → LLM generates notes → pushed to this page.