Two Stack Problem Leetcode Python Challenges