Maximum Swap | 4 techniques | Leetcode 670