Minimum Swaps For Bracket Balancing Leetcode 150