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