Leetcode Array Two Sum Problem In Python What Is The Purpose