Deliveroo interview question

leetcode 301. Remove Invalid Parentheses