
除法
文章平均质量分 77
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 326. Power of Three(3的n次幂)
原题网址:https://leetcode.com/problems/power-of-three/ 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? 方原创 2016-04-26 06:50:28 · 527 阅读 · 0 评论 -
LeetCode 166. Fraction to Recurring Decimal(循环小数)
原题网址:https://leetcode.com/problems/fraction-to-recurring-decimal/ Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the frac原创 2016-05-25 01:39:57 · 1070 阅读 · 0 评论 -
LeetCode 29. Divide Two Integers(除法)
原题网址:https://leetcode.com/problems/divide-two-integers/ Divide two integers without using multiplication, division and mod operator. If it is overflow, return MAX_INT. 方法一:使用长整数处理溢出问题。 publi原创 2016-05-20 10:35:39 · 522 阅读 · 0 评论