Skip to content

About

Replace Leetcode problem's difficulty with a more precise contest rating.

Topics

Resources

Stars

29 stars

Watchers

1 watching

Forks

Latest commit

 

History

73 Commits

Folders and files

Repository files navigation

leetcode-difficulty-rating-extension

chrome web store firefox add-on

Introduction

Replace Leetcode problem's difficulty with a more precise contest rating sourced from zerotrac.

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

Optionally, ratings missing from zerotrac can be looked up from clist.by (rate limited, so it may take a few seconds to show). In the extension popup, turn on "Look up missing ratings on clist.by", paste your clist.by API key (shown as username:key), and allow access to clist.by when the browser asks. Ratings from clist.by are shown with a c suffix (e.g. 1275c), and hovering a rating shows where it came from.

Both sources use Elo: a problem's rating is the rating of a person who solves it half the time. clist.by counts people with more past contests more heavily, and also looks at how well each person did in that contest. So a c rating and a plain rating can differ for problems of the same difficulty.

Preview

screenshot-1 screenshot-2

Installation

Chrome Web Store

Manually

  1. Clone this repository
  2. Open the browser and go to chrome://extensions/
  3. Enable Developer mode on the top-right
  4. Click Load unpacked on the top-left
  5. Select the cloned repository

Acknowledgement

About

Replace Leetcode problem's difficulty with a more precise contest rating.

Topics

Resources

Stars

29 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages