Meta interview question

Find Peak Element, Minimum Add Parentheses