Approach
My idea was to simply check if the corresponding “missing” number has already been found and if so, return it’s index + current index. Technically it’s faster to check if it exists in nums
instead of in nmap
but I could not find a way to quickly deal with ignoring current index in .index.