
LeetCode
文章平均质量分 79
hjh00
这个作者很懒,什么都没留下…
展开
-
[LeetCode]Plus One 优化
题目Given 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-03 11:48:43 · 789 阅读 · 0 评论 -
[LeetCode] Word Search 的非递归实现
leetcode word search 的非递归实现原创 2015-11-01 23:39:18 · 865 阅读 · 0 评论 -
[LeetCode][228] Summary Ranges
题目描述Given 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"].代码class Solution(object): def sum原创 2017-01-23 10:50:19 · 316 阅读 · 0 评论