Sponsored
Use these hints if you're stuck. Try solving on your own first.
Find the number of occurrences of each value.
Use an array or a hash table to do that.
Look for the largest value with number of occurrences = 1.
Solve with full IDE support and test cases