码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
线段树 区间合并 F - Sequence operation
F - Sequence operation lxhgww got a sequence contains n characters which are all '0's or '1's. We have five operations here: Change operations: 0 a b ...
分类:其他好文   时间:2019-05-04 21:21:41    阅读次数:165
3. Longest Substring Without Repeating Characters 无重复字符的最长子串
1. 原始题目 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度。 示例 1: 示例 2: 示例 3: 2. 思路 双指针法。[i,j]左闭又闭区间为当前子串,如果j+1位置的元素没有重复则继续加入,否则i+1直到没有重复元素。那么如何确定是否重复呢,有两种方法,第一种是循环判断在字串 ...
分类:其他好文   时间:2019-05-02 11:48:01    阅读次数:117
LeetCode 717. 1比特与2比特字符(717. 1-bit and 2-bit Characters)
717. 1比特与2比特字符 LeetCode717. 1 bit and 2 bit Characters 题目描述 有两种特殊字符。第一种字符可以用一比特0来表示。第二种字符可以用两比特(10 或 11)来表示。 现给一个由若干比特组成的字符串。问最后一个字符是否必定为一个一比特字符。给定的字符 ...
分类:其他好文   时间:2019-05-01 23:56:01    阅读次数:241
Unique Letter String LT828
A character is unique in string S if it occurs exactly once in it. For example, in string S = "LETTER", the only unique characters are "L" and "R". Le ...
分类:其他好文   时间:2019-04-28 09:42:03    阅读次数:118
Setting NLS_LANG Value for Oracle
Introduction Many times, when you have an Oracle application and you have to support special characters like ö,ä,ü,é,è or currency symbols (e.g. €), y ...
分类:数据库   时间:2019-04-27 10:09:52    阅读次数:212
【LeetCode刷题系列 - 003题】Longest Substring Without Repeating Characters
题目: Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The ans ...
分类:其他好文   时间:2019-04-26 00:33:28    阅读次数:131
[leetcode]68. Text Justification文字对齐
Given an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justif ...
分类:其他好文   时间:2019-04-25 22:42:01    阅读次数:188
LeetCode 551. Student Attendance Record I (C++)
题目: You are given a string representing an attendance record for a student. The record only contains the following three characters: A student could b ...
分类:编程语言   时间:2019-04-18 00:45:25    阅读次数:165
214. Shortest Palindrome
Given a string s, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrome you can f ...
分类:其他好文   时间:2019-04-15 19:54:13    阅读次数:112
ARTS第四周打卡
1.Algorithm 给定一个字符串,请你找出其中不含有重复字符的 最长子串 的长度 https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ 2.Review https://mp.weixi ...
分类:其他好文   时间:2019-04-14 18:12:31    阅读次数:257
2378条   上一页 1 ... 22 23 24 25 26 ... 238 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!