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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy