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

preview_player
Показать описание
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
Рекомендации по теме