Problem 698 · Medium
Fill buckets with the largest numbers first, backtracking when a placement cannot complete the split.
Open the interactive visualisation