Except first test case all the test cases are working

Kindly help me with that

Please note that its “atmost K” swaps instead of Exactly K swaps.
Typo will be fixed soon.
I hope you can solve the question now :slight_smile:

Please help me with that