码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
【leetcode】1301. Number of Paths with Max Score
题目如下: You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. You nee ...
分类:其他好文   时间:2019-12-29 10:57:18    阅读次数:68
3. Longest Substring Without Repeating Characters
3. Longest Substring Without Repeating Characters Medium 7205424Add to ListShare Given a string, find the length of the longest substring without repe ...
分类:其他好文   时间:2019-12-25 12:53:25    阅读次数:75
leetcode-15双周赛-1286-字母组合迭代器
题目描述: 方法: class CombinationIterator: def __init__(self, characters: str, combinationLength: int): self.s = characters self.pos = [x for x in range(com ...
分类:其他好文   时间:2019-12-23 16:39:02    阅读次数:81
1286. Iterator for Combination
Design an Iterator class, which has: A constructor that takes a string characters of sorted distinct lowercase English letters and a number combinatio ...
分类:其他好文   时间:2019-12-22 10:23:29    阅读次数:99
【leetcode】1286. Iterator for Combination
题目如下: Design an Iterator class, which has: A constructor that takes a string characters of sorted distinct lowercase English letters and a number comb ...
分类:其他好文   时间:2019-12-15 10:24:14    阅读次数:70
文本处理工具命令——tr
tr 一帮助说明 二常用选项 (一)删除字符或者分隔符 -d,--delete delete characters in SET1,do not translate删除指定字符,不做替换 -C,-C,--complement use the complement of SET1取删除指定字符的补集, ...
分类:其他好文   时间:2019-12-11 18:49:45    阅读次数:81
1031 Hello World for U (20分)
Given any string of N (≥) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l l r ...
分类:其他好文   时间:2019-12-08 17:52:11    阅读次数:153
【leetcode】1275. Find Winner on a Tic Tac Toe Game
题目如下: Tic-tac-toe is played by two players A and B on a 3 x 3 grid. Here are the rules of Tic-Tac-Toe: Players take turns placing characters into empt ...
分类:Windows程序   时间:2019-12-08 10:40:21    阅读次数:113
【leetcode】1278. Palindrome Partitioning III
题目如下: You are given a string s containing lowercase letters and an integer k. You need to : First, change some characters of s to other lowercase Engl ...
分类:其他好文   时间:2019-12-07 10:20:45    阅读次数:88
Codeforces Round #604 (Div. 2) A. Beautiful String
链接: https://codeforces.com/contest/1265/problem/A 题意: A string is called beautiful if no two consecutive characters are equal. For example, "ababcb", ...
分类:其他好文   时间:2019-12-07 01:04:48    阅读次数:147
2378条   上一页 1 ... 12 13 14 15 16 ... 238 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!