Remove Invalid Parentheses

Solution Code

Time Complexity

O(2^N) ⏱️

Space Complexity

O(N) 💾