Maximum Swap Leetcode Javascript Questions W3schools