Gemini Solutions Interview Question

remove duplicate from an array