Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /