Skip to content

Commit dbe2df7

Browse files
authored
Update factorial-trailing-zeroes.py
1 parent 2843994 commit dbe2df7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Python/factorial-trailing-zeroes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Time: O(logn)
1+
# Time: O(logn) = O(1)
22
# Space: O(1)
33
#
44
# Given an integer n, return the number of trailing zeroes in n!.
@@ -16,4 +16,4 @@ def trailingZeroes(self, n):
1616
return result
1717

1818
if __name__ == "__main__":
19-
print Solution().trailingZeroes(100)
19+
print Solution().trailingZeroes(100)

0 commit comments

Comments
 (0)