Minimum number of swaps
I am sharing image of question as link is not working:
Img1
Img2
Please someone help me in his question.