I am to remove all duplicates form an array.

For example:
4 7 11 4 9 5 11 7 3 5
should be changed to
4 7 11 9 4 3

I am not supposed to use hashtables. Is there a simple way to do this. I...