We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1113e2 commit aac0ca6Copy full SHA for aac0ca6
go/0074-search-a-2d-matrix.go
@@ -18,7 +18,7 @@ func searchMatrix(matrix [][]int, target int) bool {
18
}
19
20
21
- if top >= bot {
+ if !(top <= bot) {
22
return false
23
24
0 commit comments