摘要: Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio 阅读全文
posted @ 2018-02-03 06:22 Jimmy_Cheng 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Given an integer, write a function to determine if it is a power of three. Follow up:Could you do it without using any loop / recursion? 题目标签:Math 题目要 阅读全文
posted @ 2018-02-03 05:46 Jimmy_Cheng 阅读(215) 评论(0) 推荐(0) 编辑