Skip to content

Commit 787c3dd

Browse files
authored
Update armstrong-number.py
1 parent e8ef917 commit 787c3dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/armstrong-number.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Time: O(logn * logk)
2-
# Space: O(logn)
1+
# Time: O(klogk)
2+
# Space: O(k)
33

44
class Solution(object):
55
def isArmstrong(self, N):

0 commit comments

Comments
 (0)