Atlassian Interview Question

Hashmap question related to finding a winner