I'am given an unsorted array. Need to find minimum number of swaps to sort it. I already encountered some advices on the issue here: discussion
But there is no strict proof of the proposed algorithm.
I'am given an unsorted array. Need to find minimum number of swaps to sort it. I already encountered some advices on the issue here: discussion
But there is no strict proof of the proposed algorithm.