Skip to content

sherryl4george/leetcode-anki

This branch is 28 commits behind fspv/leetcode-anki:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4135a69 · Oct 27, 2021

History

55 Commits
Oct 25, 2021
Oct 27, 2021
Oct 26, 2021
Oct 22, 2021
Oct 25, 2021
Oct 26, 2021
Oct 13, 2021
Oct 24, 2021
Sep 21, 2021
Oct 26, 2021
Oct 26, 2021
Oct 26, 2021
Oct 25, 2021

Repository files navigation

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

Installation

First initialize and activate python virtualenv somewhere

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

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)

export LEETCODE_SESSION_ID="yyy"

And then run

make generate

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

About

Anki cards generator for Leetcode

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.0%
  • Makefile 1.0%