
Homework
Given a 2D grid of size m x n and an integer k. You need to shift the grid k times.
In one shift operation:
Return the 2D grid after applying shift operation k times.
Note: Please don’t create new array, do it in place. I have shared what we have in class.