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