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