Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-04-30 15:36:25
阅读次数:
135
A message containing letters from A-Z is being encoded to numbers using the
following mapping:
'A' -> 1
'B' -> 2
...
'Z' -> 26
Given an encoded message containing digits, determine the total nu...
分类:
其他好文 时间:
2015-04-27 15:16:14
阅读次数:
124
原题:Given a string, find the length of the longest substring without repeating characterFor example, the Longest substring without repeating letters fo...
分类:
编程语言 时间:
2015-04-25 22:41:48
阅读次数:
229
Most crossword puzzle fans are used toanagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POTS and POST...
分类:
其他好文 时间:
2015-04-24 20:54:38
阅读次数:
95
问题描述:
Given a digitstring, return all possible letter combinations that the number couldrepresent.
A mapping of digitto letters (just like on the telephone buttons) is given below.
Input:Digi...
分类:
其他好文 时间:
2015-04-24 19:15:54
阅读次数:
173
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2015-04-24 01:04:53
阅读次数:
138
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
编程语言 时间:
2015-04-23 23:22:16
阅读次数:
203
题目描述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 “adjacent” cells are those horizontally or vertically...
分类:
其他好文 时间:
2015-04-22 18:19:56
阅读次数:
130
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-04-22 07:04:07
阅读次数:
126
处理数组A,A[i]表示字符串a的第i个字符排序后应去的位置,队列可。对于多次出现的字符,其在a中的顺序和在b中的顺序应该是一一对应的。#include#includeusing namespace std;#define N 1000001typedef long long ll;queueqs[...
分类:
编程语言 时间:
2015-04-20 22:12:06
阅读次数:
168