Problem 532. Return unique values without sorting

Created by Aurelien Queffurust

If the input vector A is [42 1 1],

the output value B must be the unique values [42 1]

The values of B are in the same order as A

Tags

Problem Group

53 solvers submitted 124 solutions (2.34 solutions/solver).

Problem Comments

Solution Comments