Maintain an Escape-Room Leaderboard
Company: Pinterest
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: hard
Interview Round: Technical Screen
Overview: Design and implement an `EscapeRoomGame` for a fixed set of players and rooms `0` through `R`. Work through the function contract, boundary cases, correctness argument, and time and space complexity expected in a production-quality solution.