Skip to content

Commit e111e43

Browse files
committed
Update search-a-2d-matrix-ii.cpp
1 parent 463c34d commit e111e43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

C++/search-a-2d-matrix-ii.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ class Solution {
66
bool searchMatrix(vector<vector<int>>& matrix, int target) {
77
const int m = matrix.size();
88
if (m == 0) {
9-
return 0;
9+
return false;
1010
}
1111
const int n = matrix[0].size();
1212
if (n == 0) {
13-
return 0;
13+
return false;
1414
}
1515
int count = 0;
1616

0 commit comments

Comments
 (0)