Deliveroo Interview Question

leetcode 301. Remove Invalid Parentheses