Domanda di colloquio di DeepCode

Asked to solve the "verify the braces" algorithmic problem in a Google Doc.