more robust solution to Valid Parentheses
clarify intention using the shortest string

A solution using the first string is tested, which passes the tests but
turns out to be slower.
add solution to Longest Valid Parentheses
add solution to Binary Tree Maximum Path Sum
add solution to Evaluate Reverse Polish Notation