Two Stack Problem Leetcode Javascript Questions Exercises