上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 33 下一页
摘要: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文
posted @ 2015-11-17 08:08 Hygeia 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo... 阅读全文
posted @ 2015-10-30 02:12 Hygeia 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac 阅读全文
posted @ 2015-10-30 02:01 Hygeia 阅读(172) 评论(0) 推荐(0) 编辑
摘要: reference:http://www.jyuan92.com/blog/leetcode-minimum-size-subarray-sum/ 阅读全文
posted @ 2015-10-23 09:18 Hygeia 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Update (2014-11-02):The si... 阅读全文
posted @ 2015-10-23 06:01 Hygeia 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 印度哥的视频讲的很好:https://www.youtube.com/watch?v=sYcOK51hl-A 阅读全文
posted @ 2015-10-22 12:56 Hygeia 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231- 1.For example,123 -> "One Hundred T... 阅读全文
posted @ 2015-10-22 10:37 Hygeia 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space? 1 /** 2 * Definition for singly-li... 阅读全文
posted @ 2015-10-22 09:07 Hygeia 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi... 阅读全文
posted @ 2015-10-21 13:03 Hygeia 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Given an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, wh... 阅读全文
posted @ 2015-10-21 12:26 Hygeia 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 33 下一页