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 ebada45 commit 727c5d2Copy full SHA for 727c5d2
lectures/09-linear search/code/src/com/kunal/MaxWealth.java
@@ -9,7 +9,7 @@ public int maximumWealth(int[][] accounts) {
9
// account = col
10
int ans = Integer.MIN_VALUE;
11
for (int[] ints : accounts) {
12
- // when you start a new col, take a new sum for that row
+ // when you start a new row, take a new sum for that row
13
int sum = 0;
14
for (int anInt : ints) {
15
sum += anInt;
0 commit comments