Important Python Coding Questions Leetcode 150