Skip to content

Commit 0b38702

Browse files
authored
Update self-dividing-numbers.cpp
1 parent 8aed57d commit 0b38702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

C++/self-dividing-numbers.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Time: O(nlogn)
2-
// Space: O(1)
1+
// Time: O(nlogr) = O(n)
2+
// Space: O(logr) = O(1)
33

44
class Solution {
55
public:

0 commit comments

Comments
 (0)