Minimum Swaps to Convert One Permutation into Another

Company: Paytm_3oct

Difficulty: medium