Longest Valid Parentheses at Intuit
Hard38.0% acceptance
This problem has 50.0% frequency at Intuit.
Problem Description
Given a string containing just the characters `'('` and `')'`, return _the length of the longest valid (well-formed) parentheses_ _substring_.
Read full problem and hintsTopics
Also asked at 27 companies
More Intuit Questions
Valid ParenthesesEasyMaximum Difference Score in a GridMediumLength of the Longest Subsequence That Sums to TargetMediumBasic Calculator IVHardWord BreakMedium
View all Intuit questions