Accenture Interview Question

write a program to remove duplicate element from arraylist