data-structures-algorithms
data-structures-algorithms copied to clipboard
remove duplicates in linked list
File: linked_list/p2.py Fixes: https://github.com/kojino/data-structures-algorithms/issues/5
When testing with a linked list like: 8 12 13 8 7 13 13 11 I got a linked list that still contains duplicates. With this small change it removes all the duplicates.