Google Interview Question

Max Consecutive one's in an array