Solved LeetCode program · 82 of 1,000
#0082 · Remove Duplicates from Sorted List II
Original English source
The values is a list of 1, 2, 3, 3, 4, 4, and 5. The counts is an empty map.
For each value in values.
Add 1 to entry value of counts.
The result is an empty list of whole numbers.
For each value in values.
If entry value of counts is 1, Place value into result.
For each value in result, display value.
Expected stdout
1 2 5