You are viewing a single comment's thread. Return to all comments →
I know. But why they use arr[arr[first-1]] instead of arr[]-1 ???
arr[arr[first-1]]
arr[]-1
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Swaps 2
You are viewing a single comment's thread. Return to all comments →
I know.
But why they use
arr[arr[first-1]]
instead ofarr[]-1
???