LeetCode
Reverse Substrings Between Each Pair of Parentheses
Click
here
for an explanation.