You are viewing a single comment's thread. Return to all comments →
I "fixed" my version by not iterating over the last item in the array.
Minimum Swaps 2
You are viewing a single comment's thread. Return to all comments →
I "fixed" my version by not iterating over the last item in the array.