Skip to content

Commit 76969bf

Browse files
committed
pb9
1 parent 6dd9fec commit 76969bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pb9/Problem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
33
Given a list of integers, write a function that returns the largest sum of non-adjacent numbers. Numbers can be 0 or negative.
44
For example, `[2, 4, 6, 2, 5]` should return `13`, since we pick 2, 6, and 5. `[5, 1, 1, 5]` should return `10`, since we pick 5 and 5.
5-
Follow-up: Can you do this in O(N) time and constant space?
5+
Follow-up: Can you do this in O(N) time and constant space?

0 commit comments

Comments
 (0)