会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Blue_Keroro
博客园
首页
新随笔
联系
订阅
管理
2017年12月18日
关于[LeetCode]Factorial Trailing Zeroes O(logn)解法的理解
摘要: 题目描述: Given an integer n, return the number of trailing zeroes in n!. 题目大意: 给定一个整数n,返回n!(n的阶乘)结果中后缀0的个数(如5!=120,则后缀中0的个数为1)。 解题思路: 首先这是LeetCode中时间复杂度为
阅读全文
posted @ 2017-12-18 18:47 Blue_Keroro
阅读(203)
评论(0)
推荐(0)
公告