Rosetta Problems

Minimum Swaps to Sort by Digit Sum

https://leetcode.com/problems/minimum-swaps-to-sort-by-digit-sum