Back to course home
0% completed
Vote For New Content
Is it really the "lastNonZeroIndex"?
Nicholas Tinsley
Aug 31, 2024
It seems to me like the variable "lastNonZeroIndex" is really tracking the first zero. At any snapshot in time, it represents an array index that is holding a zero, waiting to be swapped for the nonzero value in i.
0
0
Comments
Comments
On this page