fspv / leetcode-anki

Anki cards generator for Leetcode
MIT License
308 stars 43 forks source link

Would it be possible to create flashcards only for a specific set of problems, for example the top 150 interview questions. #37

Closed Najeeb-Aqel closed 1 year ago

fspv commented 1 year ago

Hi @Najeeb-Aqel!

I don't think what you want is currently possible with the specific set of problems you mentioned.

However, it is possible to filter questions by the list id. You can do that if you uncomment this line https://github.com/fspv/leetcode-anki/blob/7b554bf476862b0116878e3be1188d9de2f3dd48/leetcode_anki/helpers/leetcode.py#L172.

You can get the list ID by looking at the URL when you select a certain list. For example "Top Interview questions" is https://leetcode.com/problemset/all/?listId=wpwgkgt&page=1.