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 "adjace...
分类:
其他好文 时间:
2015-12-24 00:19:01
阅读次数:
259
4212: String GameTime Limit:1 SecMemory Limit:128 MBSubmit:337Solved:41DescriptionAlice and Bob are playing the following game with strings of letters...
分类:
其他好文 时间:
2015-12-23 17:53:43
阅读次数:
199
316. Remove Duplicate LettersTotal Accepted:2367Total Submissions:12388Difficulty:MediumGiven a string which contains only lowercase letters, remove d...
分类:
其他好文 时间:
2015-12-19 20:30:30
阅读次数:
487
Given a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of sequentially adjac...
分类:
其他好文 时间:
2015-12-18 06:56:28
阅读次数:
239
A message containing letters fromA-Zis being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message conta...
分类:
其他好文 时间:
2015-12-17 01:51:57
阅读次数:
242
题目:Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the tele...
分类:
其他好文 时间:
2015-12-15 15:54:54
阅读次数:
149
思路借鉴了https://leetcode.com/discuss/73806/15-ms-java-solutionfor "cbacdcbc", we counts each letter's index:a----2b----1,6c----0,3,5,7d----4we go from a ...
分类:
其他好文 时间:
2015-12-14 06:49:01
阅读次数:
143
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 "adjace...
分类:
其他好文 时间:
2015-12-11 12:59:39
阅读次数:
249
题目:Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure y...
分类:
其他好文 时间:
2015-12-10 21:57:48
阅读次数:
246
题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters...
分类:
其他好文 时间:
2015-12-08 15:53:31
阅读次数:
151