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 ...
分类:
其他好文 时间:
2018-03-17 10:51:42
阅读次数:
247
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 ...
分类:
其他好文 时间:
2018-03-15 17:58:42
阅读次数:
144
Given a m by n grid of letters, ( ), and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uni ...
分类:
其他好文 时间:
2018-03-12 21:50:54
阅读次数:
248
One way that the police finds the head of a gang is to check people's phone calls. If there is a phone call between A and B, we say that A and B is re ...
分类:
其他好文 时间:
2018-03-12 00:05:40
阅读次数:
173
恢复内容开始 题目描述 A string is a finite sequence of lower-case (non-capital) letters of the English alphabet. Particularly, it may be an empty sequence, i.e. ...
分类:
其他好文 时间:
2018-03-11 22:34:39
阅读次数:
242
Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the ...
分类:
其他好文 时间:
2018-03-11 14:36:52
阅读次数:
185
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2744 题目描述: A regular palindrome is a string of numbers or letters that is the same ...
分类:
其他好文 时间:
2018-03-11 14:36:26
阅读次数:
168
来源:codeforces E. Tetrahedron 来源:codeforces E. Tetrahedron You are given a tetrahedron. Let's mark its vertices with letters A, B, C and D correspondin ...
分类:
其他好文 时间:
2018-03-10 18:49:09
阅读次数:
205
There is a new alien language which uses the latin alphabet. However, the order among letters are unknown to you. You receive a list of words from the ...
分类:
其他好文 时间:
2018-03-09 10:42:39
阅读次数:
296
Given a set of keywords words and a string S, make all appearances of all keywords in S bold. Any letters between <b> and </b> tags become bold. The r ...
分类:
其他好文 时间:
2018-03-09 01:40:56
阅读次数:
432