Pergunta de entrevista da empresa Capital One

Tell if an input string of parenthesis was balanced

Respostas da entrevista

Sigiloso

31 de out. de 2018

you could use a stack and push when open parenthesis and pop when closing parenthesis I think

Sigiloso

8 de ago. de 2017

Similar to verifying a palindrome; simpler

1