Delete duplicate-value nodes from a sorted linked list

Problem Name:
Delete duplicate-value nodes from a sorted linked list
Site:HackerRank
Links:
Tags:
Problem setters: