Add min stack solution