|
|
|
|
|
by chrismcb
906 days ago
|
|
I think the point of the OP was A the person wanted to solve this in a spiral pattern, which isn't necessary. And B didn't know how to do a spiral pattern, which is fairly simple.
As to your other question, unless it is directed you need to look at each element. The real question is how to iterate over a 2d array. There are several methods and really that is all this question is looking for. |
|