码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
843: Guess the Word
This problem is an interactive problem new to the LeetCode platform. We are given a word list of unique words, each word is 6 letters long, and one wo ...
分类:其他好文   时间:2018-11-29 10:54:28    阅读次数:133
500. Keyboard Row
Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Examp ...
分类:其他好文   时间:2018-11-19 11:01:47    阅读次数:173
Weekly Contest 78-------->809. Expressive Words (stack)
Sometimes people repeat letters to represent extra feeling, such as "hello" -> "heeellooo", "hi" -> "hiiii". Here, we have groups, of adjacent letters ...
分类:其他好文   时间:2018-11-17 13:24:11    阅读次数:138
438. 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 ...
分类:其他好文   时间:2018-11-16 21:02:23    阅读次数:130
409. Longest Palindrome
Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This ...
分类:其他好文   时间:2018-11-16 17:43:50    阅读次数:116
LeetCode936. Stamping The Sequence
一、题面 You want to form a target string of lowercase letters. At the beginning, your sequence is target.length '?' marks. You also have a stamp of lower ...
分类:其他好文   时间:2018-11-08 16:13:53    阅读次数:213
291. Word Pattern II
Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette... ...
分类:其他好文   时间:2018-11-06 11:03:02    阅读次数:156
【bzoj2789】 Letters 树状数组
又是一道树状数组求逆序对的题目。 这一题我们可以将第二个串中的每一个字母,与第一个串中的字母做两两匹配,令第二个串第i个字母的值id[i]为该字母与第一个串中的字母匹配到的位置。 然后考虑到所求答案为最小的移动次数,那么这个最小的移动次数显然为序列id的逆序对个数。 树状数组求一求就没了。 我一看时 ...
分类:编程语言   时间:2018-11-03 23:13:21    阅读次数:200
409. Longest Palindrome
Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This ...
分类:其他好文   时间:2018-11-03 14:12:27    阅读次数:120
golang的一些基础数据类型转换
int -- string int64--string float--string float--int ...
分类:其他好文   时间:2018-11-02 20:25:06    阅读次数:153
1345条   上一页 1 ... 20 21 22 23 24 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!