in reply to Eliminate duplicate and original values

What about if the array contains 1, 2, 3, 2, 4? Would you like the result to be 1, 2, 3, 2, 4? Or 1, 3, 4? That is, what exactly counts as a duplicate value?
  • Comment on Re: Eliminate duplicate and original values