摘要: 题目描述: We are playing the Guess Game. The game is as follows: I pick a number from 1 to n. You have to guess which number I picked. Every time you gues 阅读全文
posted @ 2016-07-30 22:33 scottwang 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example:Given num = 16, return true. Given num = 5, ret 阅读全文
posted @ 2016-07-30 20:58 scottwang 阅读(382) 评论(0) 推荐(0) 编辑