码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
806. Number of Lines To Write String
We are to write the letters of a given string S, from left to right into lines. Each line has maximum width 100 units, and if writing a letter would c ...
分类:其他好文   时间:2018-10-22 14:53:15    阅读次数:137
[LeetCode] 763. Partition Labels
A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one p ...
分类:其他好文   时间:2018-10-20 23:53:47    阅读次数:288
CodeForces A. Many Equal Substrings
http://codeforces.com/contest/1029/problem/A You are given a string tt consisting of nn lowercase Latin letters and an integer number kk. Let's define ...
分类:其他好文   时间:2018-10-20 21:03:27    阅读次数:202
[leetcode]211. Add and Search Word - Data structure design添加查找单词 - 数据结构设计
Design a data structure that supports the following two operations: search(word) can search a literal word or a regular expression string containing o ...
分类:其他好文   时间:2018-10-18 16:51:02    阅读次数:177
[leetcode]621. Task Scheduler任务调度
Given a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters represent different tasks.Tasks could ...
分类:其他好文   时间:2018-10-18 11:01:28    阅读次数:216
[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, determ ...
分类:其他好文   时间:2018-10-18 10:55:17    阅读次数:129
[leetcode]301. Remove Invalid Parentheses 去除无效括号
Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:其他好文   时间:2018-10-18 10:54:41    阅读次数:175
HDU - 6096 :String (AC自动机,已知前后缀,匹配单词,弱数据)
Bob has a dictionary with N words in it. Now there is a list of words in which the middle part of the word has continuous letters disappeared. The mid ...
分类:其他好文   时间:2018-10-18 01:18:22    阅读次数:199
744. Find Smallest Letter Greater Than Target
Given a list of sorted characters letterscontaining only lowercase letters, and given a target letter target, find the smallest element in the list th ...
分类:其他好文   时间:2018-10-18 01:17:00    阅读次数:132
763. Partition Labels(贪心)
A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one p ...
分类:其他好文   时间:2018-10-17 16:52:52    阅读次数:131
1345条   上一页 1 ... 22 23 24 25 26 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!