Sollicitatievraag bij Capital One

Write a java program to remove the duplicates from the sorted list