Given an array of n distinct elements, find the minimum number of swaps required to sort the array.
algorithms
array
sorting-algorithms
bfs
dfs-algorithm
sort-algorithm
bfs-algorithm
swapping
sort-array
idfs
sortal
-
Updated
Mar 20, 2019 - Java