WellDev Interview Question

Write a code to delete the duplicate items from a given array