FunctionRacerProblemsRace

All Different

EasyNumPyPython

Return True if no value appears twice in nums, otherwise False. A single value counts as all different.

Example 1

nums [4,1,7]
returns true

No repeats.

Example 2

nums [4,1,4]
returns false

4 appears twice.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More NumPy problems