码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
[LeetCode] Find All Anagrams in a String 找出字符串中所有的变位词
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 the ...
分类:其他好文   时间:2016-10-31 00:08:22    阅读次数:216
LeetCode 383 Ransom Note
Problem: Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if ...
分类:其他好文   时间:2016-10-26 13:35:07    阅读次数:206
[LeetCode] Longest Repeating Character Replacement 最长重复字符置换
Given a string that consists of only uppercase English letters, you can replace any letter in the string with another letter at most k times. Find the ...
分类:其他好文   时间:2016-10-26 09:40:13    阅读次数:431
LeetCode91 Decode Ways
题目: A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determi ...
分类:其他好文   时间:2016-10-24 23:17:30    阅读次数:244
LeetCode 389 Find the Difference
Problem: 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 l ...
分类:其他好文   时间:2016-10-24 13:21:29    阅读次数:161
91. Decode Ways
A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t ...
分类:其他好文   时间:2016-10-24 07:47:32    阅读次数:199
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 ...
分类:其他好文   时间:2016-10-23 11:51:21    阅读次数:149
1000.1 Letters and Words homework 12
#include <iostream> #include <iomanip> #include <cmath> using namespace std; //your code will be hereclass Land { public: Land() : price_(0) {} explic ...
分类:其他好文   时间:2016-10-22 14:40:06    阅读次数:122
1000. Letters and Words homework 12
#include<iostream>#include<sstream>#include<cstring>using namespace std;int main(){ char s[1000]; string str; int count = 0; int count1 = 0; cin.get(s ...
分类:其他好文   时间:2016-10-22 14:39:37    阅读次数:184
Newspaper Headline_set(upper_bound)
Description A newspaper is published in Walrusland. Its heading is s1, it consists of lowercase Latin letters. Fangy the little walrus wants to buy se ...
分类:其他好文   时间:2016-10-21 23:52:49    阅读次数:321
1345条   上一页 1 ... 67 68 69 70 71 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!