Two Stack Problem Leetcode Javascript Practice Test