kawre / leetcode.nvim

A Neovim plugin enabling you to solve LeetCode problems.
MIT License
655 stars 34 forks source link

Feature Request: Customizable filter on all kinds of problem choices #43

Open Eric-Song-Nop opened 5 months ago

Eric-Song-Nop commented 5 months ago

Following #42 , I hope to have a customizable filter for list, random, and any other possible case like what leetcode-cli does in this link. I wonder if it is possible?

kawre commented 5 months ago

Leet list used to have filtering by question tags but I've switched to different leetcode api endpoint which is much more faster but the only thing it's missing is the topicTags the previous endpoint had.

But I guess I could create a separate file that would've to be maintained, containing topic tags for all questions.

Eric-Song-Nop commented 5 months ago

The thing is I have a complex plugin to filter for a special difficulty score range:), I wonder if I can have the same functionality here.

Otherwise, is it possible to get problems from the favorite problem list that I create on Leetcode?

kawre commented 5 months ago

No problem, but I'm busy with college right now, so you would have to wait 1 or 2 weeks before I find the time to implement this.

kawre commented 5 months ago

Can you share your scripts so I would've better idea of what those scrips would need?