Bishu and soldiers

1 min read

https://www.hackerearth.com/practice/algorithms/searching/binary-search/practice-problems/algorithm/bishu-and-soldiers/

Minimum number of swaps required to sort the array
Rasta and Kheshtak