Expedia Group Interview Question

Given an int array, remove the duplicates.