Problem 2600 · Easy
Fill k picks with +1 items first, then zeros, and only then -1 items, taking each group with a single min().
Open the interactive visualisation