上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 28 下一页

2015年6月6日

摘要: 题目:Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes?... 阅读全文
posted @ 2015-06-06 09:13 承续缘 阅读(149) 评论(0) 推荐(0) 编辑

2015年6月5日

摘要: 题目:Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321click to show spoilers.Have you thought about this?Here are ... 阅读全文
posted @ 2015-06-05 15:07 承续缘 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 题目:Clone an undirected graph. Each node in the graph contains alabeland a list of itsneighbors.OJ's undirected graph serialization:Nodes are labeled u... 阅读全文
posted @ 2015-06-05 10:48 承续缘 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is a valid dictionary word.Return all such poss... 阅读全文
posted @ 2015-06-05 08:28 承续缘 阅读(263) 评论(0) 推荐(0) 编辑

2015年6月4日

摘要: 题目:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exa... 阅读全文
posted @ 2015-06-04 21:56 承续缘 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is formed from the o... 阅读全文
posted @ 2015-06-04 20:22 承续缘 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 题目:A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message co... 阅读全文
posted @ 2015-06-04 14:49 承续缘 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 题目:Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the ... 阅读全文
posted @ 2015-06-04 10:10 承续缘 阅读(184) 评论(0) 推荐(0) 编辑

2015年6月3日

摘要: 题目:Given amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along its path.Note... 阅读全文
posted @ 2015-06-03 20:14 承续缘 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representat... 阅读全文
posted @ 2015-06-03 14:02 承续缘 阅读(196) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 28 下一页

导航