Meta Interview Question

K Closest Points to Origin Minimum Remove to Make Valid Parentheses