Deloitte Interview Question

Write programm to Remove number from array who occur more than once