Replace Leetcode problem's difficulty with a more precise contest rating sourced from here.
The green/yellow/red text color is preserved, so you can still tell the official difficulty.
Problems in 1st-62nd weekly contests and problems that did not come from contests don’t have rating data and "N/A" is shown by default. To show the original rating, click the extension icon on the top right of the browser and disable "Show N/A if no rating is available".
- Clone this repository
- Open the browser and go to
chrome://extensions/
- Enable
Developer mode
on the top-right - Click
Load unpacked
on the top-left - Select the cloned repository
- Ratings are based on https://github.com/zerotrac/leetcode_problem_rating