You are viewing a single comment's thread. Return to all comments →
"You are given an unordered array consisting of consecutive integers [1, 2, 3, ..., n] without any duplicates."
1 3 5 2 4 6 8
huh?
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 →
"You are given an unordered array consisting of consecutive integers [1, 2, 3, ..., n] without any duplicates."
1 3 5 2 4 6 8
huh?