码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
Longest Substring Without Repeating Characters
1 import java.util.Scanner; 2 3 /** 4 * Created by qmq 5 * Given a string, find the length of the longest substring without repeating characters. 6 * ... ...
分类:其他好文   时间:2018-10-12 11:57:22    阅读次数:166
32. Longest Valid Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. Example 1: Exampl ...
分类:其他好文   时间:2018-10-11 01:35:51    阅读次数:147
03.Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters(最长的子串不重复字符) 题目要求:给定一个字符串,找到最长的子字符串的长度,要求不重复字符。 例如: 给定一个字符串“abcabcbb”,答案是“abc”,长度是3。 给定一个字符串“bbbbb”,答案是“ ...
分类:其他好文   时间:2018-10-10 22:02:26    阅读次数:176
[leetcode-917-Reverse Only Letters]
Given a string S, return the "reversed" string where all characters that are not a letter stay in the same place, and all letters reverse their positi ...
分类:其他好文   时间:2018-10-07 14:43:57    阅读次数:142
[LeetCode&Python] Problem 917. Reverse Only Letters
Given a string S, return the "reversed" string where all characters that are not a letter stay in the same place, and all letters reverse their positi ...
分类:编程语言   时间:2018-10-07 14:35:27    阅读次数:222
面试经典
题目:最长子串 Minimum Window Substring Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexit ...
分类:其他好文   时间:2018-10-06 13:12:30    阅读次数:182
67. Add Binary
Given two binary strings, return their sum (also a binary string). The input strings are both non empty and contains only characters 1 or 0. Example 1 ...
分类:其他好文   时间:2018-10-02 17:36:11    阅读次数:189
1464.Hello World For U
Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: h d e l ...
分类:其他好文   时间:2018-10-02 17:27:27    阅读次数:108
[leetcode]67.Add Binary
题目 Given two binary strings, return their sum (also a binary string). The input strings are both non empty and contains only characters 1 or 0. Exampl ...
分类:其他好文   时间:2018-10-01 11:52:46    阅读次数:104
717. 1-bit and 2-bit Characters@python
We have two special characters. The first character can be represented by one bit 0. The second character can be represented by two bits (10 or 11). N ...
分类:编程语言   时间:2018-09-29 23:58:12    阅读次数:339
2378条   上一页 1 ... 35 36 37 38 39 ... 238 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!