Cody

Problem 76. De-dupe

Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if

 a = [5 3 6 4 7 7 3 5 9]

then

 dedupe(a) = [5 3 6 4 7 9]

Solution Stats

56.24% Correct | 43.76% Incorrect
Last Solution submitted on Nov 20, 2019

Problem Comments

Solution Comments

Problem Recent Solvers1508

Suggested Problems

More from this Author95

Problem Tags