Skip to content

Commit 94e130e

Browse files
authored
Update least-operators-to-express-number.cpp
1 parent a571dc0 commit 94e130e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

C++/least-operators-to-express-number.cpp

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

44
class Solution {
55
public:

0 commit comments

Comments
 (0)