How LeetCode gets rated
LeetCode cards are pulled from your public profile — solved counts, acceptance rate, and contest history. Same six-stat card as GitHub, different source, and its own tier colors so you can tell the two apart at a glance.
Strike rate (STR)
Solving pace — Easy, Medium, and Hard problems solved, weighted by difficulty and spread across your active years.
Batting average (AVG)
Total problems solved, averaged across your active years — years you actually had submissions, not just years since you signed up.
Wickets (WKT)
Hard problems solved, all-time. These are weighted heavily and don't come cheap — a handful of Hard solves won't max this out.
Economy (ECO)
Acceptance rate — accepted submissions vs. total attempts. Fewer wasted submissions means a tighter economy.
Boundaries (BND)
Medium problems solved, all-time.
Catches (CAT)
Rated contests entered, plus overall problems solved — so grinders who never touch the contest feature still get credit, not just competitive solvers.
Overall rating
A weighted blend of all six stats, ranging from 8 to 92. Hard problems and Medium problems are calibrated so a realistic grinder — a few hundred solved, a modest Hard count — lands solidly in Bronze-to-Silver, not maxed out. The 90s ("Legend" tier) are a separate gate: at least 3 active years, a 1900+ contest rating, and 300+ problems solved. Volume alone doesn't get you there without the contest strength to back it up.
Tiers
- Bronze — below 55
- Silver — 55 to 77
- Gold — 78 to 89
- Legend — 90+ (gated, see above)
A note on the data
LeetCode doesn't publish an official public API — this pulls from the same endpoint LeetCode's own site uses for public profile pages. Fields like join date aren't exposed, so "active years" is approximated from years with any submission activity rather than account age.