Atlassian interview question

Hashmap question related to finding a winner