+ 1
Write a program to remove all duplicate elements in linked list using c
suppose linked list 1st and 3rd node both contain 3 then both should be removed.
4 Answers
+ 2
Cool. I'd love to see it working. Please post it here when done.
We don't normally write your programs. Instead, we fix your broken one. I'm willing to give hints on algorithm, if that helps.
+ 5
You can refer to this code->
https://code.sololearn.com/cQ8Qu4CnDrfK/#cpp
+ 1
This gives a good starting point of a link list. They don't give an add function, but show it's code twice,
https://www.geeksforgeeks.org/linked-list-set-1-introduction/
0
please Mr Wells algo will help too