码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
316. Remove Duplicate Letters
Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your ...
分类:其他好文   时间:2016-12-05 07:46:31    阅读次数:192
208. 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. Show Company T ...
分类:其他好文   时间:2016-12-04 11:27:57    阅读次数:186
python笔记常用模块
一.python中的string模块 string模块中的ascii_letterss是生成所有的大小写字母a-z,A-Z。dights是生成所有的数字0-9 代码: import string src_st = string.ascii_letters +string.digits#所有大小写字母 ...
分类:编程语言   时间:2016-11-29 21:49:22    阅读次数:182
HDU_3172_带权并查集
Virtual Friends Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8229 Accepted Submission(s): 2363 ...
分类:其他好文   时间:2016-11-29 21:27:34    阅读次数:198
Leetcode: First Unique Character in a String
...
分类:其他好文   时间:2016-11-29 14:41:18    阅读次数:139
[POJ3096]Surprising Strings
[POJ3096]Surprising Strings 试题描述 The D-pairs of a string of letters are the ordered pairs of letters that are distance D from each other. A string is  ...
分类:其他好文   时间:2016-11-27 06:52:40    阅读次数:194
每天一道LeetCode--389. 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-11-26 11:22:19    阅读次数:177
hdu 1015(DFS)
Safecracker Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 13237 Accepted Submission(s): 6897 Pr ...
分类:其他好文   时间:2016-11-26 02:35:25    阅读次数:172
leetcode_438_Find All Anagrams in a String_哈希表_java实现
题目: 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 ...
分类:编程语言   时间:2016-11-24 21:42:54    阅读次数:287
LeetCode 389. 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-11-20 13:06:11    阅读次数:162
1345条   上一页 1 ... 65 66 67 68 69 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!