码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
LC 984. String Without AAA or BBB
Given two integers A and B, return any string S such that: S has length A + B and contains exactly A 'a' letters, and exactly B 'b' letters; The subst ...
分类:其他好文   时间:2019-02-05 13:05:51    阅读次数:165
[leetcode] remove duplicate letters
好懒again,草稿 用时4ms,内存1M (好高啊魂淡 ...
分类:其他好文   时间:2019-02-04 23:16:36    阅读次数:179
[LeetCode] Find And Replace in String 在字符串中查找和替换
To some string S, we will perform some replacement operations that replace groups of letters with new ones (not necessarily the same size). Each repla ...
分类:其他好文   时间:2019-02-04 23:16:25    阅读次数:221
LC 988. Smallest String Starting From Leaf
Given the root of a binary tree, each node has a value from 0 to 25 representing the letters 'a' to 'z': a value of 0 represents 'a', a value of 1repr ...
分类:其他好文   时间:2019-02-03 14:11:35    阅读次数:195
212. Word Search II
Given a 2D board and a list of words from the dictionary, find all words in the board. Each word must be constructed from letters of sequentially adja ...
分类:其他好文   时间:2019-02-03 01:00:44    阅读次数:324
LeetCode-91-Decode Ways
算法描述: A message containing letters from A-Z is being encoded to numbers using the following mapping: Given a non-empty string containing only digits, ...
分类:其他好文   时间:2019-02-02 12:39:00    阅读次数:159
SPOJ1812 Longest Common Substring II
题意 A string is finite sequence of characters over a non empty finite set Σ. In this problem, Σ is the set of lowercase letters. Substring, also called ...
分类:其他好文   时间:2019-02-01 23:30:09    阅读次数:205
string模块
# string Moudle """ Data: ascii_letters 大小写字母 ascii_lowercase 小写字母 ascii_uppercase 大写字母 digits 数字0-9 hexdigits 十六进制 012345678... ...
分类:其他好文   时间:2019-01-30 14:26:38    阅读次数:127
[LeetCode] Positions of Large Groups 大群组的位置
In a string S of lowercase letters, these letters form consecutive groups of the same character. For example, a string like S = "abbxxxxzyy" has the g ...
分类:其他好文   时间:2019-01-28 23:07:06    阅读次数:176
POJ1094 Sorting It All Out
Sorting It All Out Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 40012 Accepted: 14072 Description An ascending sorted sequence of distin ...
分类:其他好文   时间:2019-01-28 10:52:45    阅读次数:116
1345条   上一页 1 ... 16 17 18 19 20 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!