AlgoMaster Logo

Max Consecutive Ones

nums=[1, 1, 0, 1, 1, 1]
0 / 20
110111012345count0maxCount0
algomaster.io
Step:Start of algorithm