Skip to main content
Technical

Implement a leaderboard that maintains the best score player at the top and gets any player in O(1) time.

Top community answer

No community answers yet.

Contribute an answer

Have a better answer?

Share your experience and earn credits toward your next interview session.

Contribute an answer