AI 产品解读Display difficulty ratings and levels for LeetCode problems on the problem detail page
LeetCode does not natively display a quantitative difficulty score or level for problems. Users must rely on community consensus or external resources. This extension brings that data directly onto the problem page.
1. User visits a LeetCode problem detail page (leetcode.com/problems/* or leetcode.cn/problems/*). 2. Extension content script (show_score.js) runs, extracts the problem title from the URL. 3. Extension checks local storage for cached score/level data; if missing or stale, fetches fresh data from zerotrac.github.io and raw.githubusercontent.com. 4. Extension injects DOM elements showing the difficulty score and level near the problem title. 5. Hovering over the level badge shows a tooltip explaining the level scale (1-3: Basic Mastery, 4-7: Proficient, >=8: Expert). 6. Clicking the extension icon opens the external rating website (zerotrac.github.io/leetcode_problem_rating).
Displays a numeric difficulty rating (score) for each LeetCode problemDisplays a difficulty level (1-10+) for each problemProvides links to the contest where the problem appearedPeriodically fetches updated rating/level data from external sourcesSupports both leetcode.com (international) and leetcode.cn (Chinese) domains
- 目标用户
- LeetCode users (competitive programmers, job interview prep users) / Data-driven learners who want to prioritize problems by difficulty
- The extension relies on external data sources (zerotrac.github.io and GitHub raw) that may go offline or change format, potentially breaking the extension. This was not tested live. The extension's behavior when LeetCode changes its DOM structure (CSS selectors) was not verified. The extension requires the user to be logged into LeetCode to view problem pages, but this is a LeetCode requirement, not an extension requirement.
付费分析未识别到付费功能
The extension is entirely free. It uses bundled JSON data files (score.json, level.json) and fetches updates from public GitHub Pages / raw GitHub URLs. There are no payment APIs, subscription gates, upgrade prompts, or premium feature locks in the code. The keyword 'pro' matched in locale files refers to 'proficient' (a difficulty level label), not a paid plan.
- 置信度
- 98
- 支付平台
- --
- 来源
- AI / 高
- 需要登录
- 否
- 登录理由
- The extension itself does not implement any login mechanism. It runs as a content script on LeetCode problem pages. While LeetCode.com/leetcode.cn itself requires a login to view problem details, the extension does not manage or require credentials; it simply reads the page DOM where the user is already logged in to LeetCode. The extension's core workflow (displaying difficulty ratings) does not gate functionality behind an extension-side login.