The function removes duplicate elements from an array.
int[] values = [1, 3, 1, 7, 2, 19, 5, 2, 2]; removeDuplicate(values); assert(values == [1, 3, 7, 2, 19, 5]);
See Implementation
The function removes duplicate elements from an array.