码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
LeetCode-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 ...
分类:其他好文   时间:2019-03-25 20:47:13    阅读次数:178
744. Find Smallest Letter Greater Than Target(大于给定元素的最小元素)(leetcode)
Given a list of sorted characters letters containing only lowercase letters, and given a target letter target, find the smallest element in the list t ...
分类:其他好文   时间:2019-02-28 14:50:58    阅读次数:179
Codeforces Round 253 (Div. 2)
layout: post title: Codeforces Round 253 (Div. 2) author: "luowentaoaa" catalog: true tags: mathjax: true codeforces 模拟栈 贪心 传送门 A. "Anton and Letters" ...
分类:其他好文   时间:2019-02-26 13:35:10    阅读次数:162
19.2.23 [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 ...
分类:其他好文   时间:2019-02-23 19:28:01    阅读次数:215
LeetCode 884 Uncommon Words from Two Sentences 解题报告
题目要求 We are given two sentences A and B. (A sentence is a string of space separated words. Each word consists only of lowercase letters.) A word is un ...
分类:其他好文   时间:2019-02-22 10:28:04    阅读次数:204
Code War每天一练第三天
Take 2 strings s1 and s2 including only letters from ato z. Return a new sorted string, the longest possible, containing distinct letters, each taken ...
分类:其他好文   时间:2019-02-11 10:25:28    阅读次数:210
[LeetCode 984] String Without AAA or BBB
Given two integers A and B, return any string S such that: S has length A + B and contains exactly A 'a' letters, and exactly B 'b' letters; The subst ...
分类:其他好文   时间:2019-02-10 09:28:27    阅读次数:132
leetcode744
题目: 给定一个只包含小写字母的有序数组letters 和一个目标字母 target,寻找有序数组里面比目标字母大的最小字母。 数组里字母的顺序是循环的。举个例子,如果目标字母target = 'z' 并且有序数组为 letters = ['a', 'b'],则答案返回 'a'。 示例: 注: 解题 ...
分类:其他好文   时间:2019-02-07 20:28:27    阅读次数:137
【leetcode】988. Smallest String Starting From Leaf
题目如下: Given the root of a binary tree, each node has a value from 0 to 25representing the letters 'a' to 'z': a value of 0 represents 'a', a value of  ...
分类:其他好文   时间:2019-02-06 15:52:32    阅读次数:192
[LeetCode 988] Smallest String Starting From Leaf
Given the root of a binary tree, each node has a value from 0 to 25 representing the letters 'a' to 'z': a value of 0 represents 'a', a value of 1 rep ...
分类:其他好文   时间:2019-02-05 13:13:56    阅读次数:142
1345条   上一页 1 ... 15 16 17 18 19 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!