Design data structure for players and ranks
Filed under Capital One
The question
Design a data structure for players and ranks, and implement add_player, get_rank, and update_score methods in O(1) or O(log n) time.
No write-up yet. Related questions below have one.
Collected from public candidate posts and coding forums. Updated Nov 2026.