Skip to content

Commit cba74ba

Browse files
authored
Update least-operators-to-express-number.py
1 parent 4de1bd3 commit cba74ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/least-operators-to-express-number.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Time: O(logn/logx)
2-
# Space: O(logn)
1+
# Time: O(logn/logx) = O(1)
2+
# Space: O(logn) = O(1)
33

44
class Solution(object):
55
def leastOpsExpressTarget(self, x, target):

0 commit comments

Comments
 (0)