Maximum Swap Leetcode Javascript Questions Hackerrank Log