Maximum Swap Leetcode Javascript Questions Hackerrank