Sorting Algorithm With Minimum Swaps Leetcode 150