Return the number of nodes in the linked list. Examples L = null, return 0L = 1 -> null, return 1L = 1 -> 2 -> null, return 2 ...
分类:
其他好文 时间:
2018-03-27 14:33:10
阅读次数:
108
Find the height of binary tree. Examples: 5 / \ 3 8 / \ \ 1 4 11 The height of above binary tree is 3. 1 public class Solution { 2 ... ...
分类:
其他好文 时间:
2018-03-27 14:31:32
阅读次数:
132
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: Note: You may assume the ...
分类:
其他好文 时间:
2018-03-27 10:25:11
阅读次数:
220
官网http://scikit-learn.org/stable/auto_examples/applications/plot_out_of_core_classification.html
分类:
其他好文 时间:
2018-03-26 10:57:40
阅读次数:
125
1,vim /etc/init.d/nginx 复制源代码:https://www.nginx.com/resources/wiki/start/topics/examples/redhatnginxinit/ 需要注意的配置:nginx=”/usr/local/nginx/sbin/nginx” ...
分类:
其他好文 时间:
2018-03-24 11:36:40
阅读次数:
168
作者: 阮一峰 日期: 2015年7月14日 链接:http://www.ruanyifeng.com/blog/2015/07/flex-examples.html 你会看到,不管是什么布局,Flex往往都可以几行命令搞定。 我只列出代码,详细的语法解释请查阅《Flex布局教程:语法篇》。我的主要 ...
分类:
其他好文 时间:
2018-03-23 16:17:52
阅读次数:
1133
1 题目 Given a string, find the length of the longest substring without repeating characters. 给定一个字符串,求该字符串的最长且不含有重复字符的子字符串。 Examples: Given "abcabcbb", ...
分类:
其他好文 时间:
2018-03-23 11:40:09
阅读次数:
160
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2018-03-22 19:14:41
阅读次数:
125
Short Description: ORC Creation Best Practices with examples and references. Short Description: Article Synopsis. ORC is a columnar storage format for ...
分类:
其他好文 时间:
2018-03-19 14:18:54
阅读次数:
228
求最长摆动子序列。 Examples: 运行结果: 时间复杂度O(n^2),空间复杂度O(n)。 重点是这个优化的dp算法,时间复杂度O(n),空间复杂度O(1): 运行结果: 这个算法实在又简洁又易懂。 ...
分类:
其他好文 时间:
2018-03-15 11:24:41
阅读次数:
196