Check if all elements in a list are unique.
MediumProblem Statement
Check if all elements in a list are unique.
Sample Input
[1, 2, 3, 4]
Sample Output
True
Limits
Time: 2s · Memory: 256 MB
Check if all elements in a list are unique.
[1, 2, 3, 4]
True
Time: 2s · Memory: 256 MB