Write a method that takes a sorted singly linked list as a parameter and replicates a new linked list with the nodes that hold unique values. Finally, it returns the address of a new linked list.
A->B->B->C->C->D->NULL à A->B->C->D->NULL Note: No duplicates should exist in the new linked list.
Do not modify the existing list.
