5 ms·
Seems nice, congrats! How does the recommendation algorithm work?
by sirobg 2y ago
Seems nice, congrats!
How does the recommendation algorithm work?
- cubemaster 2y agocurrently recommends 5 problems using a ranking algorithm that calculates a score similar to this: score = ( timeSinceLastAttempt ^ 2 ) * difficulty; Anything else you'd want factored in?
- sirobg 2y agoDefinitely the problem category! But I see it's already been mentioned here in another thread. Do you rank the problems solved by the user only, or all leetcode problems? Because I think that a nice thing would be for your tool to first suggest one pb in each category, and then start recommending the category where you're the weakest.