Google interview question

Check for valid parentheses.

Interview Answer

Anonymous

19 Oct 2017

Can just check the number of '(' == number of ')'?