Problem 2756 · Easy

Query Batching

Split values into consecutive batches of at most k items and report each batch sum. Similar in spirit to a premium LeetCode problem.

Open the interactive visualisation