Hacker News new | ask | show | jobs
by tryptophan 2168 days ago
Arrays start at 0. example_array[5] is actually the 6th number in the array.
1 comments

Ah yeah that makes sense. I was thinking the `i` check already accounted for the zero indexing.