Factorial Trailing Zeroes (Divide-and-Conquer)
摘要:
QUESTIONGiven an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity.FIRST TRYclass Sol... 阅读全文
posted @ 2015-01-03 19:21 joannae 阅读(216) 评论(0) 推荐(0) 编辑