Getting the Adjacent cells in a Java array

前端 未结 0 485
独厮守ぢ
独厮守ぢ 2020-11-21 07:17

Let\'s say i have a 2D Array of 0s which contains a line of 1s.

Something like this :

|0|0|0|0|0|0|0|
|0|0|0|0|0|0|0|
|0|1|1|1|1|0|0|
|0|0|0|0|0|0|0|
|         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题