Design a Multiplayer Game Leaderboard
easy 45 minKeep 250 million players in order while results arrive all the time, and tell any of them their place in milliseconds.
A board with ties, places and a percentile
Read it, run it, change a line and run it again.
Loading editor…
A sorted list stands in for the sorted set. Inserting into a Python list moves elements, so a real board uses a skip list.