Please click the link below to view the Problem Statement
Max Consecutive Ones - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared…
Math.max()function returns the largest of the zero or more numbers given as input parameters, or
NaNif any parameter isn't a number and can't be converted into one.
— MDN Web Docs
I had some help solving this algorithm. Please check out Algo Byte on Youtube. She did an amazing job explaining how to tackle this!
Thank you so much for stopping by! Stay tuned for more Algorithm Content!
Stephanie Segura - Lone Star College - Houston, Texas, United States | LinkedIn
Hi there! My name is Stephanie. I am a Full-Stack Software Engineer residing in Houston, TX. Building on my business…