Skip to content

Commit

Permalink
Update increasing-subsequences.py
Browse files Browse the repository at this point in the history
Return result does not count in space complexity.
  • Loading branch information
NYCGithub authored Sep 12, 2018
1 parent e9deacf commit e1fa441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/increasing-subsequences.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Time: O(n * 2^n)
# Space: O(n^2)
# Space: O(n) #Longest possible path in tree, which is if all numbers are increasing.

# Given an integer array, your task is
# to find all the different possible increasing
Expand Down

0 comments on commit e1fa441

Please sign in to comment.