Given an array of integers nums, where each element occurs thrice, except one which occurs twice. Return the element which repeats twice.
Your notes are automatically saved in your browser's local storage and will persist across sessions on this device.