I have array list that each indexes has value either 0 or 1.I want to find that continuously three indexes has the value 1.How do I find it?
Without actual code:
true
false
Something like this, I hope I could help.