This project is a script-based tool designed to fetch LeetCode questions and generate Anki decks for practicing data structures and algorithms with spaced repetition. By integrating LeetCode problems into Anki flashcards, you can improve your problem-solving skills, retain solutions longer, and prepare effectively for coding interviews.
โ Automatically fetches questions, solutions, and submissions from LeetCode
โ Generates customizable Anki decks with:
โข Problem descriptions
โข Solution approaches
โข Edge cases, clarifying questions, and common mistakes
โข Personal notes and code solutions
โ Supports spaced repetition to boost long-term memory of problem patterns
โ Simple CLI for generating and updating decks
git clone https://github.com/phamphihungbk/anki_generator
cd anki-generator
# Install dependencies (creates virtual environment)
poetry install
# List the available commands:
poetry run python cli.py fetch-favourite-questions
poetry run python cli.py fetch_question_detail
poetry run python cli.py fetch-top-questions
poetry run python cli.py sync-leetcode-track
poetry run python cli.py generate-deck
