結果 : minimum number of swaps to sort array leetcode