Microsoft Interview Question

Solve Min Stack leetcode question