Top-Interview-Questions--Leetcode icon indicating copy to clipboard operation
Top-Interview-Questions--Leetcode copied to clipboard

Factorial Trailing Zeroes

Open santushtisharma10 opened this issue 4 years ago • 5 comments

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

Note that n! = n * (n - 1) * (n - 2) * ... * 3 * 2 * 1.

Input: n = 5
Output: 1
Explanation: 5! = 120, one trailing zero.

santushtisharma10 avatar Oct 30 '21 07:10 santushtisharma10

@syedareehaquasar @KhushbooGoel01 please assign me this issue

santushtisharma10 avatar Oct 30 '21 07:10 santushtisharma10

Hii @KhushbooGoel01 can you please assign this issue

AnkitPatel1999 avatar Oct 30 '21 09:10 AnkitPatel1999

go ahead @santushtisharma10 ! @AnkitPatel1999 please choose one of the languages and mention here and communicate within yourselves to divide the issue into parts! (u can use this space) happy contributions!

syedareehaquasar avatar Oct 30 '21 15:10 syedareehaquasar

I will do the cpp solution

santushtisharma10 avatar Oct 30 '21 16:10 santushtisharma10

Hey, I would like to Python solution.Can you please assign ?

ARYASINGHBJC avatar Oct 13 '22 02:10 ARYASINGHBJC