title: Find longest series of ones in a binary digit array
body: <p>How would I find the longest series of ones in this array of binary digits - 100011101100111110011100</p>
  
  <p>In this case the answer should be = 11111</p>
  
  <p>I was thinking of looping through the array and checking every digit, if the digit is a one then add it to a new String, if its a zero re-start creating a new String but save the previously created String. When done check the length of every String to see which is the longest. I'm sure there is a simpler solution ?</p>