Leetcode Smallest String With Swapshift