2781. Length of the Longest Valid Substring - Hard | DSA Corner | Talentd