Ezvor

1836. Remove Duplicates From an Unsorted Linked List

MediumHash Table Preparing judge… LeetCode
Hash TableLinked List

Hints

Hint 1
Is there a way we can know beforehand which nodes to delete?
Hint 2
Count the number of appearances for each number.