Palo Alto Networks interview question

leet code #155 min stack