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 hints

Topics

Also asked at 27 companies


More Intuit Questions

View all Intuit questions