Pergunta de entrevista da empresa Amazon

Balanced parenthesis questions.

Resposta da entrevista

Sigiloso

23 de out. de 2017

I solved this one using a stack, but they also asked me to evaluate the answer using a counter; we discussed the trade offs.