Factorial Trailing Zeroes | LeetCode 172 | Coding Interview Tutorial

preview_player
Показать описание
Factorial Trailing Zeroes solution: LeetCode 172

AFFILIATE LINKS
If you're interested in learning algorithms, these are great resources.

💲 All coupons and discounts 💲

Factorial Trailing Zeroes | LeetCode 172 | Coding Interview
#factorialtrailingzeroes #leetcode #algorithms #terriblewhiteboard #codinginterview

Click the time stamp to jump to different parts of the video.
00:00 Title
00:06 Problem readout
00:40 Whiteboard solution
05:47 Coding solution
07:23 Result and outro
Рекомендации по теме
Комментарии
Автор

If there are any videos you'd like me to make or if you have any ideas on how to optimize this solution, let me know!

TerribleWhiteboard
Автор

Thanks! Good solution. Time complexity is log n, right? And space complexity O(1)? im not sure.

cloud
Автор

You missed some test cases.What if no is greater than 125 ?

dsajunction
Автор

wow this was very well explained, thanks!

juliolopezmontalvo
Автор

How did you come up with this succinct solution so easily? That's amazing.

patrickchan
Автор

This approach fails if we find trailing zeroes of 1000!

kunal_chand
welcome to shbcf.ru