摘要: class Solution(object): def isPerfectSquare(self, num): """ :type num: int :rtype: bool """ for x in range(1000000): if x*x==num: ... 阅读全文
posted @ 2019-03-19 07:21 周洋 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 二分搜索 阅读全文
posted @ 2019-03-19 06:44 周洋 阅读(183) 评论(0) 推荐(0) 编辑