Active Network interview question

Delete the repeated element from a sorted linked list.