SERES interview question

The coding question was about balanced brackets (stack-implementation). Typical hackerrank/leetcode question.