码迷,mamicode.com
首页 >  
搜索关键字:repeated    ( 267个结果
2021.1.29 刷题(重复的子字符串-KMP实现)
题目链接:https://leetcode-cn.com/problems/repeated-substring-pattern 题目描述: 给定一个非空的字符串,判断它是否可以由它的一个子串重复多次构成。给定的字符串只含有小写英文字母,并且长度不超过10000。 示例 1: 输入: "abab" ...
分类:其他好文   时间:2021-01-30 11:52:32    阅读次数:0
[LeetCode] 1100. Find K-Length Substrings With No Repeated Characters
Given a string S, return the number of substrings of length K with no repeated characters. Example 1: Input: S = "havefunonleetcode", K = 5 Output: 6 ...
分类:其他好文   时间:2020-07-20 10:52:27    阅读次数:55
Leetcode: Numbers With Repeated Digits
description Given a positive integer N, return the number of positive integers less than or equal to N that have at least 1 repeated digit. Example In ...
分类:其他好文   时间:2020-06-25 14:09:06    阅读次数:65
961. N-Repeated Element in Size 2N Array
package LeetCode_961 /** * 961. N-Repeated Element in Size 2N Array * https://leetcode.com/problems/n-repeated-element-in-size-2n-array/description/ * ...
分类:其他好文   时间:2020-06-20 13:55:05    阅读次数:38
0187. Repeated DNA Sequences (M)
Repeated DNA Sequences (M) 题目 All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying D ...
分类:其他好文   时间:2020-06-16 10:26:45    阅读次数:64
uniq命令
-c, --count 在每行前加上表示相应行目出现次数的前缀编号 -d, --repeated 只输出重复的行 -D, --all-repeated[=delimit-method 显示所有重复的行 delimit-method={none(default),prepend,separate} 以 ...
分类:其他好文   时间:2020-06-13 15:55:51    阅读次数:72
718. Maximum Length of Repeated Subarray
问题: 给定两个数组,求两个数组中最长公共子数组的长度。 Example 1: Input: A: [1,2,3,2,1] B: [3,2,1,4,7] Output: 3 Explanation: The repeated subarray with maximum length is [3, 2 ...
分类:其他好文   时间:2020-05-04 13:05:59    阅读次数:52
事务的隔离级别 另一种事务开启方式
事务是有隔离级别 read uncommited (读未提交):不做任何隔离,具有脏读,不可重读对,幻读的问题 read committed (读提交):可以防止脏读,不能防止不可重复读和幻读的问题 repeated read(可重复读):可以防止脏读,不可重复读,不能放在幻读(mysql的默认隔离 ...
分类:其他好文   时间:2020-03-23 20:54:34    阅读次数:90
事务的隔离级别,乐观锁,悲观锁
事务是有隔离级别 read uncommited (读未提交):不做任何隔离,具有脏读,不可重复对,幻读的问题 read committed (读提交):可以防止脏读,不能防止不可重复读和幻读的问题 repeated read(可重复读):可以防止脏读,不可重复读,不能防止幻读(mysql的默认隔离 ...
分类:其他好文   时间:2020-03-18 09:36:28    阅读次数:65
[LC] 82. Remove Adjacent Repeated Characters IV
Repeatedly remove all adjacent, repeated characters in a given string from left to right. No adjacent characters should be identified in the final str ...
分类:其他好文   时间:2020-02-19 13:15:33    阅读次数:57
267条   1 2 3 4 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!