Skip to content

phamphihungbk/anki_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Anki Deck Generator for LeetCode Practice

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.

πŸš€ Key Features

βœ… 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

🎯 Why Use This Project?

βœ… Combines active recall with spaced repetition for better retention

βœ… Helps you track your LeetCode progress in Anki

βœ… Saves time from manually creating flashcards

βœ… Perfect for preparing technical interviews

πŸ› οΈ Installation Instructions

git clone https://github.com/your-username/anki-generator.git
cd anki-generator

# Install dependencies (creates virtual environment)
poetry install

# sync problem list with leetcode account
poetry run python cli.py sync_favourite_list --slug :slug-problem-list --size :number-of-questions

# generate Anki Deck with Favourite Problem List
poetry run python cli.py generate --is_favourite 

πŸ› οΈ Demo

front back

πŸš€ Practice smarter, not harder β€” strengthen your coding skills with spaced repetition!

About

πŸŽƒ Leetcode Deck Generator for Anki

Resources

Stars

Watchers

Forks