Find a digit fomr matrix
Describe
Find a digit from a two-dimensional array ,the array increae from left to right and from top to buttom
Code:
func findNumberIn2DArray(matrix [][]int, target int) bool {
if len(matrix)==0{
return false
}
row:=0
...
原创
2022-05-16 23:24:11 ·
167 阅读 ·
0 评论