Brocade Interview Question

FInd duplicate in linked list