Longest Valid Parentheses

https://oj.leetcode.com/problems/longest-valid-parentheses/