Skip to content

Commit 4cbab59

Browse files
authored
Update Letter Combinations of a Phone Number - Leetcode 17.py
1 parent 3409412 commit 4cbab59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Letter Combinations of a Phone Number - Leetcode 17.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ def backtrack(i=0):
3030

3131
backtrack(0)
3232
return ans
33+
34+
# Time Complexity: O(n * 4^n)
35+
# Space Complexity: O(n)

0 commit comments

Comments
 (0)