码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
LeetCode 3 -- Longest Substring Without Repeating Characters
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
Decode Ways -- leetcode
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
Leetcode 解题 Longest Substring without repeating charcater python
原题: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
UVa156 - Ananagrams
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
leetcode-17 Letter Combinations of a Phone Number
问题描述: 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
[LeetCode] Letter Combinations of a Phone Number 电话号码的字母组合
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
Java for LeetCode 003 Longest Substring Without Repeating Characters
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
LeetCode (22) Word Search
题目描述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
LeetCode-Longest Substring Without Repeating Characters
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
【树状数组】bzoj2789 [Poi2012]Letters
处理数组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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!