help
|
forum
home
| logged in as: guest |
login/register
Directory
Sci-Tech
Programming
Entertainment
Misc
All
interview_questions
RSS
Bookmarks
All
Interview Resources
Core Java
Amazon Interview Questions
Microsoft Interview Questions
Google Interview Questions
General Puzzles
Puzzle Collections
Infosys Interview Questions
Hard Puzzles
Code Snippets
Dynamic Programming
Puzzles and Answers
Algorithm Questions
Linked List
Interview Experiences
Yahoo Interview Questions
Online Resources
Videos
Trailing zeros in n!
1
Votes
How many trailing zeros are there in n factorial?
saved under
General Puzzles
by
interview_questions
no of Zros in N! = floor(N/5) + floor(N/5^2)+ floor(N/5^3)...+ floor(N/lg5 N) where lg5 is log to base 5.
comment by
video
on 2008-06-25 11:51:06
Enter the string above
Thumbnails by Thumbshots.com