🚧 Early Access Preview - Full launch coming soon! Images and final content are being updated. 🚧
Save solved LeetCode problems directly to Anki and track your progress with Google Sheets. Perfect for spaced repetition learning and systematic coding interview preparation. Boost your retention by 80% with our optimized learning system.
Unlike other open-source projects, we provide detailed explanations of every technique used in the code, along with potential interview questions and answers. Perfect for learning advanced coding patterns!
Explore learning resourcesWhy Choose LeetCode2Anki Plus?
Enhanced features for systematic coding interview preparation
Seamlessly save LeetCode problems to Anki with formatted cards for optimal spaced repetition learning.
Automatically log solved problems with timestamps, difficulty, and tags for comprehensive progress monitoring.
Track solve time, first attempt success/failure, and confidence levels for detailed performance analysis.
Complete Google Sheets-based SRS with dynamic review scheduling based on your confidence ratings.
Works reliably with both old and new LeetCode UIs, using multiple detection strategies for code and problem data.
Access detailed explanations of coding patterns, potential interview questions, and solutions optimized for technical interviews.
| Feature | Original | LeetCode2Anki Plus |
|---|---|---|
| Editor Support | Basic, fails on some pages | Robust with multiple fallbacks |
| Problem Detection | Single method | Multiple detection strategies |
| Error Handling | Basic | Comprehensive with logging and retries |
| Google Sheets | None | Full integration with tracking |
| UI Compatibility | Basic | Compatible with latest UI changes |
Get Started in Minutes
Follow these steps to integrate LeetCode with Anki and Google Sheets.
Anki is a powerful spaced repetition flashcard program and AnkiConnect is an add-on that allows external applications to communicate with Anki.
Anki must be running with AnkiConnect enabled whenever you want to save problems from LeetCode. The script communicates with the locally running Anki application.
How It Works
Watch how easily you can save LeetCode problems to Anki and track your progress
Complete any problem on LeetCode and make sure your solution is accepted.
Click the "Save to Anki" button in the bottom right corner of the page.
Click "Save to Sheet" to add the problem to your Google Sheets tracking system.
Study your saved problems in Anki using spaced repetition for optimal learning.
Frequently Asked Questions
Find answers to common questions about LeetCode2Anki Plus
Yes, Anki needs to be running with AnkiConnect active for the script to communicate with it. The connection is local and works through the AnkiConnect add-on.
You can edit the template by modifying the frontSide and backSide variables in the userscript. The script uses HTML and CSS for formatting. After making changes, you'll need to delete and recreate the card model in Anki for changes to take effect.
Yes, LeetCode2Anki Plus has been designed to work with both the old and new LeetCode UI. It uses multiple detection strategies to find problem data and your code regardless of the UI version.
Yes, you can customize the language by changing the language and langShortName variables in the script. For example, for Python use language = 'Python' and langShortName = 'py'.
The Google Sheets integration uses your own Google account and Apps Script. The data is stored in your own Google Sheet that only you (and anyone you share it with) can access. The script doesn't send your code or problem data to any third-party servers.
The script includes retry logic with exponential backoff for Google Sheets connections. For Anki connection issues, ensure Anki is running and AnkiConnect is installed correctly. Also, check that port 8765 is not blocked by your firewall.