Nabla Interview Question

Leetcode #20 task: Matching Parentheses