```java public int lengthOfLongestSubstring(String s) { int i = 0, j = 0, max = 0; Set set = new HashSet(); while(j ...
分类:
编程语言 时间:
2019-04-05 14:03:33
阅读次数:
134
编码中的相关术语 ACR Abstract Character Repertoire the set of characters to be encoded, for example, some alphabet or symbol set CCS Coded Character Set a map ...
分类:
编程语言 时间:
2019-04-05 09:19:38
阅读次数:
216
376. Binary Tree Path Sum 中文English Given a binary tree, find all paths that sum of the nodes in the path equals to a given number target. A valid pat ...
分类:
其他好文 时间:
2019-04-04 20:39:04
阅读次数:
211
[warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
分类:
Web程序 时间:
2019-04-01 18:36:31
阅读次数:
236
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume k is always valid, 1 ≤ k ≤ BST's ...
分类:
其他好文 时间:
2019-03-31 14:07:00
阅读次数:
132
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only ...
分类:
其他好文 时间:
2019-03-31 14:02:13
阅读次数:
144
安装vmware tools遇到 the path "" is not valid path to the gcc binary 和 the path "" is not a valid path to the 3.10.0 957.10.1.e17.x86_64 kernel headers 问题 ...
分类:
其他好文 时间:
2019-03-30 13:27:00
阅读次数:
158
[LeetCode]20 Valid Parentheses 有效的括号 Description Given a string containing just the characters , , , , and , determine if the input string is valid. A ...
分类:
其他好文 时间:
2019-03-30 01:28:18
阅读次数:
168
通过这里的回答,我们可以知道: Tomcat在 7.0.73, 8.0.39, 8.5.7 版本后,添加了对于http头的验证。 具体来说,就是添加了些规则去限制HTTP头的规范性 参考这里 具体来说: 转换过来就是以下字符(对应10进制ASCII看): 键盘上那些控制键:(<32或者=127) 非 ...
分类:
其他好文 时间:
2019-03-27 14:12:22
阅读次数:
3007
Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer ...
分类:
其他好文 时间:
2019-03-27 12:29:56
阅读次数:
157