Hello,

I want to delete duplicate in the array I have created, I have the following method now:
Add an element
Remove an element

Can you give me an idea of how I can implement the deleteduplicates method.

Thanks

For each element:
   if there is another element the same, remove it.