Skip to content

Commit c0aec70

Browse files
authored
Update count-beautiful-numbers.py
1 parent e216874 commit c0aec70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/count-beautiful-numbers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Time: O(logr * 2 * 10 * states)
2-
# Space: O(states) ~= O(2026)
1+
# Time: O(logr * 2 * 10 * s)
2+
# Space: O(s) ~= O(2026), s = len(states)
33

44
import collections
55

0 commit comments

Comments
 (0)