上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 33 下一页
摘要: 题目: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For ex 阅读全文
posted @ 2015-04-19 10:55 YRB 阅读(1233) 评论(1) 推荐(0) 编辑
摘要: 题目: Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'. A region is captured by flipping all 'O's into 'X's in that surrou 阅读全文
posted @ 2015-04-19 10:53 YRB 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 阅读全文
posted @ 2015-04-19 10:43 YRB 阅读(753) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an unsorted array of integers, find the length of the longest consecutive elements sequence. For example,Given [100, 4, 200, 1, 3, 2],The lo 阅读全文
posted @ 2015-04-19 10:42 YRB 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence from beginWord to endWo 阅读全文
posted @ 2015-04-19 00:39 YRB 阅读(2022) 评论(2) 推荐(0) 编辑
摘要: 题目:Given two words (beginWordandendWord), and a dictionary's word list, find all shortest transformation sequence(s) frombeginWordtoendWord, such that... 阅读全文
posted @ 2015-04-19 00:37 YRB 阅读(818) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example,"A man, a plan, a canal: 阅读全文
posted @ 2015-04-19 00:34 YRB 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a binary tree, find the maximum path sum.For this problem, a path is defined as any sequence of nodes from some starting node to any node in ... 阅读全文
posted @ 2015-04-19 00:33 YRB 阅读(915) 评论(0) 推荐(0) 编辑
摘要: 题目: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may co 阅读全文
posted @ 2015-04-19 00:28 YRB 阅读(767) 评论(0) 推荐(0) 编辑
摘要: 题目: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may co 阅读全文
posted @ 2015-04-19 00:27 YRB 阅读(361) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 33 下一页