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
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
Longest Substring Without Repeating Characters(最长的子串不重复字符) 题目要求:给定一个字符串,找到最长的子字符串的长度,要求不重复字符。 例如: 给定一个字符串“abcabcbb”,答案是“abc”,长度是3。 给定一个字符串“bbbbb”,答案是“ ...
分类:
其他好文 时间:
2018-10-10 22:02:26
阅读次数:
176
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
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
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
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
题目 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
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