Interview Guides
Given an array of integers nums, return a list of all values that appear more than once. Each duplicate value should appear exactly once in the output, in the order its duplicate is first confirmed while scanning from left to right. If there are no duplicates, return an empty list.
0 <= len(nums) <= 10^5-10^9 <= nums[i] <= 10^9