Thanksgiving Sale: Use Coupon Code THANKS25 to Get Extra 25% Off.
original is equal to m * n. If not, return an empty array.result that will store the 2D array.original with a step of n.original array from the current index to the current index plus n and append this slice to result.result list.