Microsoft Interview Question

trapping rainwater and paranthesis matching