1190. Reverse Substrings Between Each Pair of Parentheses - Explanation

Problem Link