Duplicate Removal

5

2 votes
Easy
Problem

Remove the duplicate elements from an array

Time Limit: 5
Memory Limit: 256
Source Limit:
Explanation

Input: 1 2 3 2 10 Output: 1 2 3 10

Remove duplicate elements and print the array spaced by '\t' character.

Editor Image

?