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.
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.