Finding “true” areas in java 2D array

前端 未结 0 1263
无人共我
无人共我 2021-01-13 04:57

I need to write a recursive method in java which gets a 2D array of booleans and returns how many "true" areas are there in the array. For example, if this is the

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