Java-Arrays: Nested loop will execute M * N times (#32293)

This commit is contained in:
Robert Balent
2019-01-22 16:54:40 -08:00
committed by Christopher McCormack
parent 8803057bdd
commit 765460b62f

View File

@ -161,7 +161,7 @@ for(int i = 0; i < M; i++) {
}
}
```
This loop will execute M ^ N times and will build this:
This loop will execute M * N times and will build this:
```java
[ 0 | 1 | 2 | 3 | 4 ]
[ 0 | 1 | 2 | 3 | 4 ]