https://blog.zwt.io/2019/09/24/minimum-swap-times/
男女位置最小交换次数 - 招文桃