data-structures-algorithms icon indicating copy to clipboard operation
data-structures-algorithms copied to clipboard

remove duplicates in linked list

Open luucamay opened this issue 5 years ago • 0 comments

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.

luucamay avatar Oct 03 '19 02:10 luucamay