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