Skip to content

Commit

Permalink
Update factorial-trailing-zeroes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kamyu104 authored Jul 11, 2016
1 parent 2843994 commit dbe2df7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/factorial-trailing-zeroes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Time: O(logn)
# Time: O(logn) = O(1)
# Space: O(1)
#
# Given an integer n, return the number of trailing zeroes in n!.
Expand All @@ -16,4 +16,4 @@ def trailingZeroes(self, n):
return result

if __name__ == "__main__":
print Solution().trailingZeroes(100)
print Solution().trailingZeroes(100)

0 comments on commit dbe2df7

Please sign in to comment.