Litmus7 Interview Question

Find the minimum in a given Array Valid parenthesis