Longest Valid Parentheses - LeetCode
Problem statement
Given a string containing just the characters '(' and ')', return the length of the longest valid (well-formed) parentheses substring.
Problem statement taken from: https://leetcode.com/problems/longest-valid-parentheses
Example 1:
...
alkesh26.hashnode.dev10 min read