https://rakesh-trri.medium.com/minimum-swaps-required-to-bring-all-elements-less-than-or-equal-to-k-together-18814fb6b40c