Create a program to remove duplicate elements from a hardcoded array and print the unique elements.
MediumProblem Statement
Create a program to remove duplicate elements from a hardcoded array and print the unique elements.
Sample Input
Array: [1, 2, 2, 3, 4, 4, 5]
Sample Output
Unique Elements: 1, 2, 3, 4, 5
Limits
Time: 2s · Memory: 256 MB