We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 264980f commit ec5d2f6Copy full SHA for ec5d2f6
src/_Problems_/max-consecutive-1s/index.js
@@ -1,7 +1,7 @@
1
/**
2
* Find the length of maximum consecutive 1s in an array of o & 1
3
* Input: [1, 0, 1, 1, 0] O/P - 2
4
- * Input: [0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1] O/P - 4
+ * Input: [0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1] O/P - 5
5
*
6
* Solved in O(n)
7
*/
0 commit comments