Skip to content

Commit ec5d2f6

Browse files
committed
fix: comment
1 parent 264980f commit ec5d2f6

File tree

1 file changed

+1
-1
lines changed
  • src/_Problems_/max-consecutive-1s

1 file changed

+1
-1
lines changed

src/_Problems_/max-consecutive-1s/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Find the length of maximum consecutive 1s in an array of o & 1
33
* 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
4+
* Input: [0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1] O/P - 5
55
*
66
* Solved in O(n)
77
*/

0 commit comments

Comments
 (0)