sublime设置:设置sublime回车跳转到()等外围:Preference-->用户热键设置-->[{"keys":["enter"],"command":"move","args":{"by":"characters","forward":true},"context":[{"key":"following_text","operator":"regex_contains","operand":"^[)\\]\\>\\‘\\\"]","ma..
分类:
其他好文 时间:
2015-02-28 00:27:01
阅读次数:
145
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only nodes w...
分类:
其他好文 时间:
2015-02-26 21:32:47
阅读次数:
191
1,检索数组
2,字符串相关:BEGINSWITH, ENDSWITH , CONTAINS
例:@"name CONTAIN[cd] 'ang'" //包含某个字符串
@"name BEGINSWITH[c] 'sh'" //以某个字符串开头
@"name ENDSWITH[d] 'ang'" //以某个字符串结束
注:[c...
分类:
其他好文 时间:
2015-02-26 18:36:29
阅读次数:
137
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.
OJ's undirected graph serialization:
Nodes are labeled uniquely.
We use # as a separator for each...
分类:
编程语言 时间:
2015-02-26 11:41:10
阅读次数:
181
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.InputEach input file contains ...
分类:
其他好文 时间:
2015-02-26 11:24:03
阅读次数:
103
Problem Description
Now, here is a fuction:
F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0
Can you find the minimum value when x is between 0 and 100.
Input
The first line of the input contains an in...
分类:
其他好文 时间:
2015-02-25 14:17:22
阅读次数:
220
Problem Description
Now,given the equation 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y,can you find its solution between 0 and 100;
Now please try your lucky.
Input
The first line of the input contains a...
分类:
其他好文 时间:
2015-02-25 13:02:42
阅读次数:
151
jQuery自带的一些常用方法总结这篇文章主要介绍了jQuery自带的一些常用方法总结,包括$.trim 、$.contains、$.each、$.map、$.inArray、$.extend等,需要的朋友可以参考下本身方法($.each,$.map,$.contains,$ajax)常用工具方法(...
分类:
Web程序 时间:
2015-02-25 11:26:44
阅读次数:
164
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key ...
分类:
其他好文 时间:
2015-02-25 09:06:58
阅读次数:
193