码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
[LeetCode] Find the Difference 寻找不同
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at ...
分类:其他好文   时间:2016-08-29 01:44:35    阅读次数:230
hdu4622-Reincarnation(后缀自动机)
Problem Description Now you are back,and have a task to do:Given you a string s consist of lower-case English letters only,denote f(s) as the number o ...
分类:其他好文   时间:2016-08-26 09:06:21    阅读次数:269
CodeForces 709C Letters Cyclic Shift (水题)
题意:给定一个字符串,让你把它的一个子串字符都减1,使得总字符串字典序最小。 析:由于这个题是必须要有一个字串,所以你就要注意这个只有一个字符a的情况,其他的就从开始减 1,如果碰到a了就不减了,如果到最后一位了还没开始减, 就减最后一位。 代码如下: ...
分类:其他好文   时间:2016-08-26 01:29:50    阅读次数:183
特殊的ASCII码对应的字符
Special Characters #Latin-1 entity set for HTML capital O, slash #Latin Extended-A #Latin Extended-B #Spacing Modifier Letters Greek Punctuation Gener ...
分类:其他好文   时间:2016-08-24 12:58:54    阅读次数:5789
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 ...
分类:编程语言   时间:2016-08-22 20:04:01    阅读次数:163
LeetCode- Implement Trie (Prefix Tree)
Implement a trie with insert, search, and startsWith methods. Note: You may assume that all inputs are consist of lowercase letters a-z. Solution: ...
分类:其他好文   时间:2016-08-22 09:30:22    阅读次数:207
CodeForce 589A Email Aliases
Email Aliases Polycarp has quite recently learned about email aliases. Of course, he used to suspect that the case of the letters doesn't matter in em ...
分类:其他好文   时间:2016-08-20 23:26:11    阅读次数:435
Leetcode 383 Ransom Note
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the rans ...
分类:其他好文   时间:2016-08-18 01:01:08    阅读次数:128
Java [Leetcode 383]Ransom Note
题目描述: Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if th ...
分类:编程语言   时间:2016-08-17 01:28:15    阅读次数:282
leetcode 318: Maximum Product of Word Lengths
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum ...
分类:其他好文   时间:2016-08-16 21:47:00    阅读次数:133
1345条   上一页 1 ... 72 73 74 75 76 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!