Closed JasonGitHub closed 10 years ago
Added DP solution for "Longest Valid Parenthese", requires only one pass through the input.
Great job!
Anyway, can you format your code, because some line is too long. and refactor a little bit, to make the code more concise?
Added DP solution for "Longest Valid Parenthese", requires only one pass through the input.