puzzles/parens-substring/README.md
Zoé Cassiopée Gauthier 7e4f02547b Initial commit
2024-04-02 17:01:09 -04:00

434 B

Length of the longest valid parenthesis substring

Puzzle from the rendezvous with cassidoo 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