Maximum swap
Problem  TC:      O(n)O(n) O(n)   SC:     O(n)O(n) O(n)      class Solution {     public int...
Tags: greedy, leetcode, monitonicstack, stack