Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 262b9e3

Browse files
fix build
1 parent 4107eab commit 262b9e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/fishercoder/solutions/_1198.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ public int smallestCommonElement(int[][] mat) {
2222
int n = mat[0].length;
2323
for (int j = 0; j < n; j++) {
2424
int minCommon = mat[0][j];
25+
//we'll start from the second row
2526
int i = 1;
26-
for (; i < m; i++) {//we'll start from the second row
27+
for (; i < m; i++) {
2728
if (thisRowHasThisNumber(mat[i], minCommon)) {
2829
continue;
2930
} else {

0 commit comments

Comments
 (0)