The AI memory layer for DSA

Stop repeating
the same DSA
mistakes.

memoised turns Claude into an interview prep coach that remembers every failed submission, spots your recurring patterns, and gives you the next problem to fix them.

Not a new problem site. A memory layer for the AI workflow you already use.

Join early accessView example session
~/.config/claude/mcp.jsonno install · one line
"memoised": {
  "type": "streamable-http",
  "url": "https://dsa.memoised.dev/mcp"
}
claude
memoised connected
done — submit my binary search solution
→ submit_solution() · ran 11 tests
WRONG ANSWER9/11 passed
EDGE_CASE_MISSED
→ get_analytics() · pattern detected
This is the same off-by-one from Binary Search and Koko Bananas. Your loop uses lo < hi but updates hi = mid — the final index never gets checked.
OFF_BY_ONE · 6 of your last 20 subs
give me a problem to drill that out
→ get_problem(weakness="off_by_one")
Search Insert PositionEASY
Same loop-bound pattern, simpler setup. Written to ~/dsa/search_insert.py
WORKS INClaude DesktopClaude CodeCursorVS CodeNeovim

THE GAP

LeetCode tells you wrong answer.
memoised tells you why it keeps happening.

// the old way
✗ Wrong Answer
Runtime: — · 82 / 211 cases
That's it. That's the entire feedback.
m
memoised spotted a repeat
OFF_BY_ONE
6 of your last 20+ subs

Seems like across your last 20+ submissions, you keep making this same off-by-one. Here, your binary search uses lo < hi but updates hi = mid — so the final index never gets checked. Same slip you made on Find Peak and Koko Bananas.

Avoid it next time: when the answer can be the last element, your loop has to be able to reach it — reach for lo <= hi.

THE MEMORY LAYER FOR YOUR DSA

Your AI forgets every chat.
memoised remembers.

Your assistant starts every conversation from zero. memoised is the memory layer underneath it — every submission tagged with its mistake and code habits, so your weak spots compound into a profile that only gets sharper the more you code.

7 + 10
mistake & habit categories
SM-2
spaced-repetition engine
0 tabs
it's all in your editor
your memory
writing…
Two SumACCEPTED
Subarray Sum KOFF_BY_ONE
magic_numbersHABIT ↑
Course Schedule IIACCEPTED
Koko BananasTLE
Word LadderRE-QUEUED
Binary SearchOFF_BY_ONE
single_letter_varsIMPROVING
Find PeakACCEPTED
Two SumACCEPTED
Subarray Sum KOFF_BY_ONE
magic_numbersHABIT ↑
Course Schedule IIACCEPTED
Koko BananasTLE
Word LadderRE-QUEUED
Binary SearchOFF_BY_ONE
single_letter_varsIMPROVING
Find PeakACCEPTED
nothing here ever resets →

THE WORKFLOW

Practice where you already code.

No browser tab. No copy-paste. Three tool calls and you're in a loop.

01

Ask Claude

“Give me a graph problem I keep failing.” Claude pulls one matched to your weak topics.

get_problem
02

Solve in your editor

Starter code lands in your repo. Write it in VS Code, Neovim, Cursor — your real setup, your keybinds.

your filesystem
03

Submit & understand

Claude runs it in a sandbox, then explains the verdict, the mistake, and when to revisit it.

submit_solution

WHAT YOU GET

Three things. Done well.

Mistake memory

Every failure is tagged into one of 7 categories — off-by-one, wrong complexity, edge case — not just “Wrong Answer.” Your weak spots compound into a profile that only gets sharper the more you code.

7 mistake categories · 10 code habits

Targeted revision

An SM-2 queue resurfaces problems right before you'd forget them. Fail → it comes back tomorrow. Pass → the interval grows. Your worst patterns get the most reps.

SM-2 spaced repetition · weakness-aware

Works in your editor

An MCP server that plugs into the AI you already pay for. No new subscription, no browser tab, no copy-paste. Practice in VS Code, Cursor, Neovim — your real setup.

remote MCP · no install · no new AI bill

Stop grinding. Start learning.

Practice DSA with an AI coach that remembers every mistake and drills your weakest patterns.

Join early access