Builder.ai Interview Question

remove duplicate from array