- 博客(3)
- 收藏
- 关注
原创 [LeetCode] Ugly Number
题目描述: Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6, 8 are ugly while 14 is not ug
2016-05-06 15:45:35 625
原创 [LeetCode28]
字符串匹配: Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Subscribe to see which companies asked this question
2016-05-06 15:09:56 706
原创 [LeetCode 58]Length of Last Word
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0. Note: A word is
2016-05-04 19:32:01 474
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人