Rosetta Problems

Minimum Adjacent Swaps to Make a Valid Array

https://leetcode.com/problems/minimum-adjacent-swaps-to-make-a-valid-array