Computer Science, asked by rksharmabhu85281, 1 year ago

Given a binary array, find the maximum number of consecutive 1s in this array.

Answers

Answered by cyberpunkdeath
0

Answer:

use kadane algorithm.

Answered by khairnarshamali
0

Explanation:

example 1 : Input : [ 1 1 0 1 1 1 ]

output : 3

Similar questions