Question:- Given a string A containing just the characters ’(‘ and ’)’
Find the length of the longest valid (well-formed) parentheses substring.
Returns the length of the longest valid (well-formed) parentheses substring.
Input :-
A = "(()"
Output :-
2
Please help our channel by SUBSCRIBING it.
Github Link for Python Code:-https://github.com/netsetos/python_co...
#longest #valid #parenthesis #netsetos