Write a Go program to find duplicate elements in a slice of integers.
MediumProblem Statement
Write a Go program to find duplicate elements in a slice of integers.
Sample Input
A slice of integers (e.g., [1, 2, 3, 2, 4, 3, 5]).
Sample Output
Duplicates: [2 3]
Limits
Time: 2s · Memory: 256 MB