KhushbooGoel01 / Top-Interview-Questions--Leetcode

These are codes for Top Interview Questions from Leetcode.
242 stars 141 forks source link

Factorial Trailing Zeroes #223

Open santushtisharma10 opened 2 years ago

santushtisharma10 commented 2 years ago

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 commented 2 years ago

@syedareehaquasar @KhushbooGoel01 please assign me this issue

AnkitPatel1999 commented 2 years ago

Hii @KhushbooGoel01 can you please assign this issue

syedareehaquasar commented 2 years ago

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!

santushtisharma10 commented 2 years ago

I will do the cpp solution

ARYASINGHBJC commented 1 year ago

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