https://practice.geeksforgeeks.org/problems/minimum-swaps-for-bracket-balancing/0