Find all elements in matrix that fulfill a condition from a starting point

前端 未结 0 455
野趣味
野趣味 2021-01-21 04:41

For example let\'s have the matrix:

So I have to find the area from this starting point. The area is created by all adjacent numbers (horizontally and vertically)

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