Course · Section 11: Working With Arrays · Lecture 149: Simple Array Methods
Implement `chunk(arr, size)` splitting `arr` into subarrays of length `size` (the last chunk may be shorter).
+ 1 hidden test run on Submit.
Looping with i += size and slicing each window groups the array into fixed-size chunks.
Run your code to see results.