Create a program to print all the distinct elements in a hardcoded array.
EasyProblem Statement
Create a program to print all the distinct elements in a hardcoded array.
Sample Input
Array: [1, 2, 2, 3, 4, 4, 5]
Sample Output
Distinct Elements: 1, 2, 3, 4, 5
Limits
Time: 2s · Memory: 256 MB