码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
Substring Anagrams
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 ...
分类:其他好文   时间:2017-07-15 22:43:37    阅读次数:287
Word Search
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac ...
分类:其他好文   时间:2017-07-15 19:51:01    阅读次数:149
[LeetCode] Ransom Note
Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if the rans ...
分类:其他好文   时间:2017-07-15 16:53:29    阅读次数:159
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 ...
分类:其他好文   时间:2017-07-14 13:15:31    阅读次数:195
BZOJ 2789 letters(树状数组)
【题目链接】 http://www.lydsy.com/JudgeOnline/problem.php?id=2789 【题目大意】 给出两个字符串,通过A字符串相邻之间字符的交换得到B字符串, 求最小的交换次数 【题解】 最小交换则对于同个字符来说前后顺序不变,我们得到B序列的字符在A序列中的位置 ...
分类:编程语言   时间:2017-07-12 21:32:38    阅读次数:179
[leetcode-405-Convert a Number to Hexadecimal]
Given an integer, write an algorithm to convert it to hexadecimal. For negative integer, two’s complement method is used. Note: All letters in hexadec ...
分类:其他好文   时间:2017-07-10 22:17:35    阅读次数:152
[Leetcode] word search 单词查询
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac ...
分类:其他好文   时间:2017-07-09 22:05:37    阅读次数:201
JAVA中日期和时间的格式化选项
一、使用printf方法 二、使用SimpleDateFormat类 ...
分类:编程语言   时间:2017-07-08 14:39:45    阅读次数:210
[LeetCode] decode ways 解码方式
A message containing letters fromA-Zis being encoded to numbers using the following mapping: Given an encoded message containing digits, determine the ...
分类:其他好文   时间:2017-07-07 23:33:55    阅读次数:233
poj 1159 Palindrome - 动态规划
A palindrome is a symmetrical string, that is, a string read identically from left to right as well as from right to left. You are to write a program ...
分类:其他好文   时间:2017-07-06 15:14:53    阅读次数:211
1345条   上一页 1 ... 52 53 54 55 56 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!