Minimum Swaps For Bracket Balancing Leetcode Sql Top