Java-Arrays: Nested loop will execute M * N times (#32293)
This commit is contained in:
committed by
Christopher McCormack
parent
8803057bdd
commit
765460b62f
@ -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 ]
|
||||
|
Reference in New Issue
Block a user