3149. Find the Minimum Cost Array Permutation - Hard | DSA Corner | Talentd