โ† Amazon questions

Player Score and Rank Data Structure

Filed under Amazon

Design a data structure that accepts a stream of player scores and supports adding a player's score and querying a player by rank efficiently.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.