Intuit Interview Question

132 stack leetcode problem, interviewer was nice