Domanda di colloquio di Amazon

Balanced parenthesis questions.

Risposta di colloquio

Anonimo

23 ott 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.