Course · Section 9: Data Structures, Modern Operators and Strings · Lecture 123: New Operations to Make Sets Useful!
Implement `countUnique(arr)` returning how many distinct values it contains.
+ 1 hidden test run on Submit.
The size of a Set built from the array is the number of distinct values.
Run your code to see results.