Sorting Algorithm With Minimum Swaps Leetcode Solutions With Explanation