You are viewing a single comment's thread. Return to all comments →
you can use "(len(arr) - 3) + 1", instead of 4. Would work for any size of arr.
2D Array - DS
You are viewing a single comment's thread. Return to all comments →
you can use "(len(arr) - 3) + 1", instead of 4. Would work for any size of arr.