Perfection (in design) is achieved not when there is nothing more to add, but rather when there is nothing more to take away Antoine de Saint-Exupery
Write a program to remove the duplicate elements from the linked list. Each node in Linked list has data and next node pointer. Search the data in the linked list and remove the duplicate item from the linked list.
Example if a linked list contains 2->3->1->3->4 then the result should be 2->3->1->4
Print the list of items: 21->52->33->21->67->NULL Print the list of items after remove duplicate: 21->52->33->67->NULL