Example 1
mostFrequentValue()Input
nums = [2, 3, 2, 2, 5, 3, 1, 5, 5, 4, 1, 3, 5, 4, 5, 5, 2, 2, 1, 3, 3, 2, 1, 4, 4, 2, 5, 2, 1, 1, 3, 4, 5, 5, 4, 4, 4, 2, 3, 3, 3, 5, 2, 1, 5, 4]Output
5Why
`mostFrequentValue` returns `5` for this input.Problem 412 of 1146 in the arena