Update LongestValidParentheses.java

Submission Result: Compile Error

Line 38: missing return statement

Error result
()(()

Submission Result: Runtime Error

Last executed input:	")("


Submission Result: Wrong Answer

Input:	")()(((())))("
Output:	0
Expected:	10