weeklychallenge
Idiomatic Perl solutions to the weekly challenge 325 task 1
Task 1: Consecutive One: You are given a binary array containing only 0 or/and 1. Write a script to find out the maximum consecutive 1 in the given array. A regex might be fun? Regexes can do so many tricks, maybe here too. Let's start with something