Given an integer array, nums, of length nnn, where all the integers of nums are in the range [1,n][1, n][1,n] and each integer appears once or twice, return an array of all the integers that appear twice.
nums
Note: Write an algorithm that runs in O(n) ...