Interview Guides
Given an array of integers nums, return the index of the first element that appears exactly once in the array. If no such element exists, return -1. The input is a Python list of integers, and the output is a single integer index.
1 <= len(nums) <= 10^5-10^9 <= nums[i] <= 10^9