阅读背景:

在数组中查找最大数量的连续值(JS)

来源:互联网 

I'm trying to solve a problem that I can't seem to wrap my head around and was hoping I could get a little bit of insight from someone more experienced than I am. Basically, I have an array that has anywhere from 10 to 500 values. These values are all either true or false, but they are in a random order. I need to know the greatest amount of times that false appears in a row. For example:I'm trying to solve a problem that I can't seem




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: