Pregunta de entrevista de Office Practicum

write a Java function that combines two arrays into a single deduplicated array