Pergunta de entrevista da empresa Office Practicum

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