Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
12 lines (7 loc) · 349 Bytes

File metadata and controls

executable file
·
12 lines (7 loc) · 349 Bytes

题目

Given an integer n, return the number of trailing zeroes in n!.

Note: Your solution should be in logarithmic time complexity.

Credits:Special thanks to @ts for adding this problem and creating all test cases.

解题思路

见程序注释