1982. Remove Duplicates From an Unsorted Linked List

Medium
Hash Table
Linked List

Description

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.

Statistics

Acceptance
75.7%
Submissions
53,095
Accepted
40,200