Leetcode 2340. Minimum Adjacent Swaps to Make a Valid Array | Hello Interview