[Solved] Swap Shift January Long 2023 CodeChef
![[Solved] Swap Shift January Long 2023 CodeChef [Solved] Swap Shift January Long 2023 CodeChef](https://realcoder.techss24.com/wp-content/uploads/2023/01/Solved-Swap-Shift-January-Long-2023-CodeChef.png)
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…