filmov
tv
#45 JS Interview Question | JS Coding questions #javascript #interviewpreparation #frontend

Показать описание
Given a binary array nums, return the maximum number of consecutive 1's in the array.
ex: [1,1,0,1,1,1]
output: 3
ex: [1,1,0,1,1,1]
output: 3