Recruiterflow Interview Question

duplicates in an array dsa question