32. Longest Valid Parentheses leetcode python new season 2016
Givenastringcontainingjustthecharacters '(' and ')',findthelengthofthelongestvalid(well-formed)parenthesessubstring.For "(()",thelongestvalidparenthesessubstringis "()",whichhaslength=2.Anotherexample