Isn’t the function supposed to be looking for maximum runs of non-zero values? If so, then [0, 0, 1, 0] should give us a 1. Maybe we need clarification from @batmm.
2 Likes
Isn’t the function supposed to be looking for maximum runs of non-zero values? If so, then [0, 0, 1, 0] should give us a 1. Maybe we need clarification from @batmm.