Maximum Swap Leetcode Solution