Available question text
Given initial counts of likes/votes for items/users and a sequence of updates and queries, compute for each query the percentage of the population that meets a "popularity" criterion (e.g., above a threshold or within the top k). The challenge is to maintain counts and ranks under many updates/queries efficiently — typically requiring order‑statistic structures (Fenwick/segment tree with coordinate compression), careful aggregation, and precision handling.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2720. Popularity Percentage
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source