Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word ...
分类:
其他好文 时间:
2019-06-04 11:24:41
阅读次数:
100
[LeetCode] Longest Substring Without Repeating Characters 最长无重复字符的子串 Given a string, find the length of the longest substring without repeating charac ...
分类:
编程语言 时间:
2019-05-30 01:18:05
阅读次数:
106
[LeetCode] 5. Longest Substring Without Repeating Characters Given a string s, find the longest palindromic substring in s. You may assume that the ma ...
分类:
其他好文 时间:
2019-05-29 16:30:47
阅读次数:
86
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-05-23 21:24:22
阅读次数:
97
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, w ...
分类:
其他好文 时间:
2019-05-22 20:46:14
阅读次数:
78
125. Valid Palindrome Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purp ...
分类:
Web程序 时间:
2019-05-14 20:41:16
阅读次数:
167
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No ...
分类:
其他好文 时间:
2019-05-13 23:25:40
阅读次数:
174
Medium Medium Medium Given a string, sort it in decreasing order based on the frequency of characters. Example 1: Input: "tree" Output: "eert" Explana ...
分类:
其他好文 时间:
2019-05-09 23:54:15
阅读次数:
228
Question: Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another ...
分类:
其他好文 时间:
2019-05-06 20:49:55
阅读次数:
142