| Example | |
|
| Solution | |
Do not modify index when also accessing the array.
|