[Solved] Swap Shift January Long 2023 CodeChef
Swap Shift: Blobo2 is in his practical exam. The teacher gave him a permutation A of N integers. The teacher has allowed Blobo2 to make a certain type of operation on the permutation. In one operation, he can: The teacher has asked Blobo2 to find the lexicographically…