+ 2
Help me with this ..give me a code to solve this
Find the longest consecutive 1s in the given string (110010101110101) using c++ or java for example I)10101110001101= 3 2) 10101= 1 please someone answer this question for me.
5 Answers
+ 10
You need to work with regular expressions. See this tutorial to get the point [http://www.informit.com/articles/article.aspx?p=2079020]
+ 10
Thanks Gordie for pointing out to the easiest solution.
Here is your code my friend. But before using it give Gordie the best answer.
https://code.sololearn.com/cOSBmGJV360X
+ 1
Gordie help me with a code pls...
+ 1
thanks Babak sheykhan