Leetcode Minimum Swaps To Sort Array By Date