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.6%
Submissions
52,155
Accepted
39,445