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