Refine the solution to longest valid parentheses
Add solution to search-in-rotated-sorted-array