How do I find a maximum number of consecutive non-zero values in the array?

Will that work if one of the integers contain a zero e.g. 201?

2 Likes