Problem 2677 · Easy

Chunk Array

Cut an array into consecutive pieces of a given size; the last piece may be shorter.

Open the interactive visualisation