Pregunta de entrevista de Modern Electron

Validate an expression: a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

Respuesta de la entrevista

Anónimo

9 mar 2020

It can be done by using stacks.