幂
文章平均质量分 61
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 342. Power of Four(4的n次幂)
原题网址:342. Power of Four 342. Power of Four 342. Power of Four 342. Power of Four Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example: Given num =原创 2016-04-30 11:08:01 · 446 阅读 · 0 评论 -
LeetCode 9. Palindrome Number(回文数字)
原题网址:https://leetcode.com/problems/palindrome-number/ Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers原创 2016-05-19 04:37:11 · 488 阅读 · 0 评论 -
LeetCode 12. Integer to Roman(阿拉伯转罗马数字)
原题网址:https://leetcode.com/problems/integer-to-roman/ Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 方法:理解罗马数字的规律。二分法。 public clas原创 2016-05-19 05:27:37 · 455 阅读 · 0 评论