Remove duplicate elements from the given linked list
Given a linked list, you are asked to remove all the duplicates and print the resulting list with only unique values.
Input
The initial data for the linked list is obtained automatically. You donβt need to do anything. Itβs guaranteed that the size of the linked list does not exceed and the values donβt exceed in absolute value.