https://videosashka.com/watch/X-ToV4MtHGM/leetcode-in-java-partition-to-k-equal-sum-subsets