Two Stack Problem Leetcode Solutions With Explanation