I am solving ZCO Matched Brackets 2.

Question Link : ZCO12003

**My Explanation To My Solution:**

First i am checking for Maximum Alternative Depth in the first for loop.

I am checking it by taking the observation of brackets.

If i encounter bracket **(** after **[** or bracket **[** after **(** then i increment my conter by 1 and storing the maximum ans to a variable.

In second loop i am checking for the maximum number of brackets between **( )** (Inclusive) and

maximum number of brackets between **[ ]** (Inclusive) and printing the answer.

**My Solution: [My Code][2]**