Given an array with distinct numbers, return an integer indicating the minimum number of swap operations required to sort the array into ascending order. Example 1: Input: [5, 1, 3, 2] Output: 2 Explanation: [5, 1, 3, 2] -> [2, 1, 3, 5] -> [1, 2, 3,…