algo4: stack: longest_valid_parenthesis: Revisited