You are viewing a single comment's thread. Return to all comments →
I have also done this approach, but it is getting "Terminated due to timeout"
Here is my code int n = arr.length; int count = 0; for(int i=0; i
Minimum Swaps 2
You are viewing a single comment's thread. Return to all comments →
I have also done this approach, but it is getting "Terminated due to timeout"
Here is my code int n = arr.length; int count = 0; for(int i=0; i