Proofpoint Interview Question

Split and identify duplicate strings