Topic: Array Problem / Level: intermediate

Problem: Find the minimum number of swaps required to sort an array using cycle decomposition.

Run the code to see the output here...