Escape Room Player State and Leaderboard
Design a data structure that manages player state in an escape-room game.
The game has rooms numbered from 0 through R. All players initially start in room 0.
Implement the following operation...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
