Intuit interview question

132 stack leetcode problem, interviewer was nice