What happens if the longest sequence of non-zero values occurs right up to the end of the array? Does the appropriate variable get updated?
What happens if the longest sequence of non-zero values occurs right up to the end of the array? Does the appropriate variable get updated?