Problem 3434 · Medium
Add one shared amount to a contiguous block so that as many values as possible equal k.
Open the interactive visualisation