Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 389 Bytes

You are given a large number made of only 0’s and 1’s.Your task is to find the max no of consecutive 1’s. If there are no 1’s print -1

File metadata and controls

21 lines (15 loc) · 389 Bytes