A Claude Code-powered interview preparation workspace for solving LeetCode problems in C++23.
The goal is not memorization — it's interview simulation. Claude acts as a technical interviewer: engaging with your observations, probing edge cases, and letting you drive. If you need help, just ask directly.
Use the /leetcode slash command with a LeetCode problem URL:
/leetcode https://leetcode.com/problems/two-sum/description/
This will:
- Fetch the problem statement and C++ stub via the LeetCode GraphQL API
- Create a solution file at
solutions/<id>_<slug>.cpp - Print the problem so you can start without opening a browser
- Enter technical interviewer mode
Claude will respond as a technical interviewer. Ask clarifying questions, voice your observations, and think out loud — that's the point. If you get stuck and want a hint or explanation, just ask Claude directly (not as the interviewer).
Use the /quiz slash command to be quizzed on a random problem from your solutions folder:
/quiz
Claude will present the problem as an interviewer would, then guide a discussion where you walk through the problem, your approach, the complexity, and any edge cases — all from memory. The goal is not to rewrite the solution, but to practice explaining it clearly, the way you'd need to in a real interview.
solutions/
0001_two_sum.cpp
0023_merge_k_sorted_lists.cpp
...
.claude/
CLAUDE.md # project and interviewer behavior instructions
commands/leetcode.md # /leetcode slash command definition
commands/quiz.md # /quiz slash command definition
This project is licensed under the GNU General Public License v3.0.