All Projects → prius → leetcode-anki

prius / leetcode-anki

Licence: MIT license
Anki cards generator for Leetcode

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to leetcode-anki

Daily Algorithms
算法,每日练习
Stars: ✭ 216 (+30.12%)
Mutual labels:  leetcode
Fucking Algorithm
刷算法全靠套路,认准 labuladong 就够了!English version supported! Crack LeetCode, not only how, but also why.
Stars: ✭ 99,705 (+59963.25%)
Mutual labels:  leetcode
leetcode-site-generator
Generate your personal LeetCode website with one command!
Stars: ✭ 102 (-38.55%)
Mutual labels:  leetcode
Leetcode
Data structures and algorithms for interview preparation
Stars: ✭ 241 (+45.18%)
Mutual labels:  leetcode
Interviews
Everything you need to know to get the job.
Stars: ✭ 54,875 (+32957.23%)
Mutual labels:  leetcode
leetcode530
个人用来刷Leetcode的
Stars: ✭ 63 (-62.05%)
Mutual labels:  leetcode
Leetcode Viewer
用无后台、纯前端的单页应用来分享、呈现你的leetcode源码吧!
Stars: ✭ 212 (+27.71%)
Mutual labels:  leetcode
LeetCode-Stats-Card
Show your dynamically generated LeetCode stats on your GitHub profile or your website!
Stars: ✭ 207 (+24.7%)
Mutual labels:  leetcode
Leetcodeanimation
Demonstrate all the questions on LeetCode in the form of animation.(用动画的形式呈现解LeetCode题目的思路)
Stars: ✭ 68,143 (+40950%)
Mutual labels:  leetcode
leetcode problem rating
Self-calculated rating of problems in leetcode weekly/biweekly contests.
Stars: ✭ 260 (+56.63%)
Mutual labels:  leetcode
Leetcode In Go
Go Solution for LeetCode algorithms problems, 100% coverage.
Stars: ✭ 2,810 (+1592.77%)
Mutual labels:  leetcode
Leetcode
Solutions to LeetCode problems; updated daily. Subscribe to my YouTube channel for more.
Stars: ✭ 3,090 (+1761.45%)
Mutual labels:  leetcode
SQL-Practice
Solutions to Problems For SQL on Leetcode, Hackerrank & DataLemur
Stars: ✭ 116 (-30.12%)
Mutual labels:  leetcode
Leetcode Answer
❓此项目记录leetcode的算法题题解,使用javascript语言。
Stars: ✭ 219 (+31.93%)
Mutual labels:  leetcode
mnemocards
In addition to helping you memorise, this code helps you do other things that I don't remember...
Stars: ✭ 34 (-79.52%)
Mutual labels:  anki
Algorithms
算法学习与总结
Stars: ✭ 215 (+29.52%)
Mutual labels:  leetcode
Cs Notes
📚 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计
Stars: ✭ 143,620 (+86418.07%)
Mutual labels:  leetcode
LeetCode
200 LeetCode practice problems for beginners in algorithms and data structures
Stars: ✭ 120 (-27.71%)
Mutual labels:  leetcode
competitive-programming
Solutions of some problems in competitive programming
Stars: ✭ 23 (-86.14%)
Mutual labels:  leetcode
Code-Life
The marathon continues though.
Stars: ✭ 27 (-83.73%)
Mutual labels:  leetcode

build style tests types license

Leetcode Anki card generator

Summary

By running this script you'll be able to generate Anki cards with all the leetcode problems.

I personally use it to track my grinding progress.

ezgif-7-03b29041a91e

photo_2021-09-29_08-58-19 jpg 2 photo_2021-09-29_08-58-21 jpg 2 photo_2021-09-29_08-58-23 jpg 2

Prerequisites

  1. python3.8+ installed
  2. python virtualenv installed
  3. git cli installed
  4. GNU make installed (optional, can run the script directly)
  5. *nix operating system (Linux, MacOS, FreeBSD, ...). Should also work for Windows, but commands will be different. I'm not a Windows expert, so can't figure out how to make it work there, but contributions are welcome.

How to run

First download the source code

git clone https://github.com/prius/leetcode-anki.git
cd leetcode-anki

After that initialize and activate python virtualenv somewhere

Linux/MacOS

virtualenv -p python leetcode-anki
. leetcode-anki/bin/activate

Windows

python -m venv leetcode-anki
.\leetcode-anki\Scripts\activate.bat

Then initialize session id variable. You can get it directly from your browser (if you're using chrome, cookies can be found here chrome://settings/cookies/detail?site=leetcode.com)

Linux/Macos

export LEETCODE_SESSION_ID="yyy"

Windows

set LEETCODE_SESSION_ID="yyy"

And finally run for Linux/MacOS

make generate

Or for Windows

pip install -r requirements.txt
python generate.py

You'll get leetcode.apkg file, which you can import directly to your anki app.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].