32. Longest Valid Parentheses Leetcode Solution