Javascript
文章平均质量分 57
newbie_ljm
这个作者很懒,什么都没留下…
展开
-
百度前端学院春季任务三笔记
百度ife学院关于春季练习任务三,历时10天左右,学习过程的笔记。原创 2015-11-21 21:49:07 · 1324 阅读 · 0 评论 -
Leetcode 第290题Word Pattern
题目:Word PatternGiven a pattern and a string str, find if str follows the same pattern.Here follow means a full match, such that there is a bijection between a letter in pattern and a non-empty word in原创 2015-12-10 23:35:49 · 280 阅读 · 0 评论 -
Leetcode 第66题 Plus One
题目:Plus OneGiven a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.题目分析:将数字放在数组中存原创 2015-11-29 00:03:36 · 733 阅读 · 0 评论 -
Leetcode 第228题 Summary Ranges
题目:Summary RangesGiven a sorted integer array without duplicates, return the summary of its ranges.For example, given [0,1,2,4,5,7], return [“0->2”,”4->5”,”7”].Credits: Special thanks to @jianchao.li原创 2015-11-29 00:13:15 · 288 阅读 · 0 评论 -
Leetcode 第8题 String to Integer (atoi)
题目: String to Integer (atoi)Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what a原创 2015-11-29 23:57:46 · 255 阅读 · 0 评论 -
Leetcode 第191题 Number of 1 Bits
题目:Number of 1 BitsWrite a function that takes an unsigned integer and returns the number of ’1’ bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11’ has binary represen原创 2015-11-29 23:47:41 · 299 阅读 · 0 评论 -
Leetcode 第88题 Merge Sorted Array
题目:Merge Sorted ArrayGiven two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note: You may assume that nums1 has enough space (size that is greater or equal to m +原创 2015-12-01 15:30:59 · 330 阅读 · 0 评论