Meta Interview Question

Valid parentheses Leetcode problem