- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 【leetcode】 Fraction_to_Recurring_Decimal
问题描述: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating, enclose the repeating part in parenthese
2015-02-28 22:01:49 404
原创 【leetcode】 Factorial_Trailing_Zeroes
题目: Given an integer n, return the number of trailing zeroes in n!. Note: Your solution should be in logarithmic time complexity. /* * 考虑如下情况: * 计算23!的末尾有多少0 * 思路: * 如果要末尾出现0,则
2015-02-28 18:26:05 364
原创 【leetcode】 Excel_Sheet_Column_Title
题目 : Given a positive integer, return its corresponding column title as appear in an Excel sheet. For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB 解析:常规
2015-02-28 18:24:15 419
原创 【leetcode】 Excel_Sheet_Column_Number
问题描述: Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A -> 1 B -> 2 C -> 3 ...
2015-02-28 18:22:11 357
原创 【leetcode】 Compare_Version_Numbers
问题描述: If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0. You may assume that the version strings are non-empty and contain only digits and the . character. The .
2015-02-28 18:19:47 318
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人