Skip to content

Commit 17b9903

Browse files
Merge pull request kunal-kushwaha#493 from Shivshankar158/main
corrected a comment in line 12
2 parents 111abf9 + 727c5d2 commit 17b9903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/09-linear search/code/src/com/kunal/MaxWealth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public int maximumWealth(int[][] accounts) {
99
// account = col
1010
int ans = Integer.MIN_VALUE;
1111
for (int[] ints : accounts) {
12-
// when you start a new col, take a new sum for that row
12+
// when you start a new row, take a new sum for that row
1313
int sum = 0;
1414
for (int anInt : ints) {
1515
sum += anInt;

0 commit comments

Comments
 (0)