puzzles/parens-substring/README.md

8 lines
434 B
Markdown
Raw Permalink Normal View History

2024-04-02 21:01:09 +00:00
# Length of the longest valid parenthesis substring
Puzzle from the [rendezvous with cassidoo](https://buttondown.email/cassidoo/archive/friends-and-good-manners-will-carry-you-where/) newsletter from August 14th, 2022.
> Given a string s consisting of various parenthesis ( and ), find the length of the longest valid parenthesis substring.
Solution posted at https://gist.github.com/zoeisnowooze/5347717cfd57d564518ca41e6eeff83b