Grab interview question

Easy-medium difficulty Leetcode questions. E.g. valid parentheses