Domanda di colloquio di Sedco

Write an algorithm to find sequences of ones in an array