206. Highest Score on the Leaderboard

Easy · Array

Given a list of player scores, return the name of the player with the highest score. If two players tie, return the one who appears first in the list.

Examples

Example 1
Input: players = [("Luna",9500),("Max",7200),("Zara",8100)]
Output: "Luna"
Explanation: Luna has the highest score (9500)

Constraints