# Introduction In this lab, you are tasked with writing a function `length_of_longest_parentheses()` that takes a string as input and returns the length of the longest valid parentheses substring in the given string.
Click the virtual machine below to start practicing