Problem 2677 · Easy
Cut an array into consecutive pieces of a given size; the last piece may be shorter.
Open the interactive visualisation