Unique numbers
EASYGiven an input string with numbers separated by a single space.
Delete the duplicate numbers. Print it separated by a single space in any order.
Example #1
Input
0 2 3 1 2
Output
0 1 2 3
Given an input string with numbers separated by a single space.
Delete the duplicate numbers. Print it separated by a single space in any order.
0 2 3 1 2
0 1 2 3