Verizon Interview Question

How do you remove duplicates from an array?