Leetcode Array Two Sum Problem Python Interview Question