Maximum Swap Leetcode Javascript Questions Hackerrank Practice