LeetCode runtime and memory percentile comparison pool definition
0 reputation · 04 May 2025, 08:22 UTC
Percentile reference pool scope
LeetCode shows runtime and memory percentiles on the submission results page for supported languages. The displayed percentiles compare a submission against a pool of recent submissions for the same problem and language, but LeetCode does not publish the exact size, time window, or refresh frequency of that pool. Consequently, identical code submitted at different times may receive different percentile rankings, and the metric cannot be treated as an absolute measure of efficiency.
- Which time window or submission count defines the comparison pool?
- Does the pool refresh continuously or on a fixed schedule?
- Are percentiles calculated per language version or aggregated across all language variants?