Minimum Adjacent Swaps to Make a Valid Array

Answer Panel