码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
859. Buddy Strings (wrong 4 times so many cases to test and consider) if else**
Given two strings A and B of lowercase letters, return true if and only if we can swap two letters in A so that the result equals B. Example 1: Input: ...
分类:其他好文   时间:2018-07-10 13:42:16    阅读次数:180
linux-2.6.22.6内核启动分析之内核编译体验
1 解压缩、打补丁操作 1.1 打开ubuntu,通过FTP将windows相应文件夹下的linux-2.6.22.6.tar.bz2和补丁文件linux-2.6.22.6-jz2440.patch上传到服务器/work/hardware目录下 1.2 输入cd /work/hardware 进入压 ...
分类:系统相关   时间:2018-07-06 22:23:14    阅读次数:375
Gym - 100989E
Islam is usually in a hurry. He often types his passwords incorrectly. He hates retyping his password several times whenever he tries to login, especi ...
分类:其他好文   时间:2018-07-06 14:15:34    阅读次数:311
[leetcode] Valid Anagram 、 Find All Anagrams in a String
Valid Anagram Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" Output ...
分类:其他好文   时间:2018-07-04 22:54:20    阅读次数:216
CodeForces 547E:Mike and Friends(AC自动机+DFS序+主席树)
What-The-Fatherland is a strange country! All phone numbers there are strings consisting of lowercase English letters. What is double strange that a p ...
分类:其他好文   时间:2018-07-01 14:55:10    阅读次数:209
(Java) 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-06-29 23:33:43    阅读次数:191
(Java) LeetCode 392. Is Subsequence —— 判断子序列
Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t. t is po ...
分类:编程语言   时间:2018-06-29 15:02:32    阅读次数:964
CodeForces - 779D
Little Nastya has a hobby, she likes to remove some letters from word, to obtain another word. But it turns out to be pretty hard for her, because she ...
分类:其他好文   时间:2018-06-28 22:50:43    阅读次数:208
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 ...
分类:其他好文   时间:2018-06-26 11:12:04    阅读次数:215
leetcode 859. Buddy Strings
Given two strings A and B of lowercase letters, return true if and only if we can swap two letters in A so that the result equals B. 题目大意:给出A,B两个字符串,问 ...
分类:其他好文   时间:2018-06-24 13:04:59    阅读次数:177
1345条   上一页 1 ... 29 30 31 32 33 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!