登录用 户 ID : 用户密码: 判断error账号或密码错误!
分类:
其他好文 时间:
2015-11-26 09:23:58
阅读次数:
112
博客分类:Java Web开发 Js代码 $.parser.parse();$.ajax({url:my.bp()+'/main/menuaction!createMenu.action',type:'post'...
分类:
其他好文 时间:
2015-11-26 08:11:09
阅读次数:
1608
I had the same BFS idea as one of the AC code this: because dying pattern is spead from the initial dying ones :)#include #include #include using name...
分类:
其他好文 时间:
2015-11-26 08:11:16
阅读次数:
189
public class Solution { public int hIndex(int[] citations) { int length = citations.length; int[] record = new int[length + 1]; ...
分类:
其他好文 时间:
2015-11-26 08:11:05
阅读次数:
141
枚举类型用enum关键字声明,其实质是类,有自己的方法:
toString():显示某个enum实例的名字。
ordinal():表示某个特定enum常量的声明顺序。
values():按照enum常量的声明顺序,产生由这些常量值构成的数组。...
分类:
其他好文 时间:
2015-11-26 06:59:58
阅读次数:
172
The Intel documentation classifies interrupts and exceptions as follows:1. Interrupts:Maskable interrupts: All Interrupt ReQuests (IRQs) issued by I/O...
分类:
其他好文 时间:
2015-11-26 06:58:23
阅读次数:
269
Suppose that $\{X_i\}$ are i.i.d r.vs with $P(X_i=0)=p, P(X_i=1)=1-p, p\in (0,1).$ Let $X=\sum_{n=1}^\infty\frac{X_n}{2^n}=\sum_{n=1}^\infty Y_n$ and ...
分类:
其他好文 时间:
2015-11-26 06:58:47
阅读次数:
207
题目:Given a sorted integer array without duplicates, return the summary of its ranges.For example, given[0,1,2,4,5,7], return["0->2","4->5","7"].链接:htt...
分类:
其他好文 时间:
2015-11-26 06:57:47
阅读次数:
136
这是来自quroa的问题:Why-aren't-there-a-lot-of-old-programmers-at-software-companies下的一个回答。柔城是哪里?很多人会疑问是不是程序员最后只能转管理,是不是到了中年之后就应该放弃编程。看到这个回答后很受触动,尽力翻译出来,有不恰当的...
分类:
其他好文 时间:
2015-11-26 06:57:58
阅读次数:
186
Minimum SubarrayGiven an array of integers, find the subarray with smallest sum.Return the sum of the subarray.For [1, -1, -2, 1], return -3NoteThe su...
分类:
其他好文 时间:
2015-11-26 06:55:47
阅读次数:
170
题目:Implement a basic calculator to evaluate a simple expression string.The expression string contains onlynon-negativeintegers,+,-,*,/operators and em...
分类:
其他好文 时间:
2015-11-26 06:57:15
阅读次数:
173
Before you use the React Redux bindings, learn how to create a complete simple application with just React and Redux. JS Bin const counter = ...
分类:
其他好文 时间:
2015-11-26 06:57:19
阅读次数:
260
Learn how to build a reasonable approximation of the Redux Store in 20 lines. No magic!const counter = (state = 0, action) => { switch (action.type) ....
分类:
其他好文 时间:
2015-11-26 06:56:22
阅读次数:
198
Learnt from here:http://www.cnblogs.com/lautsie/p/3798165.htmlIdea is: we union all pure black edges so we get 1+ pure black edge groups. Then we can ...
分类:
其他好文 时间:
2015-11-26 06:55:44
阅读次数:
157
模块概述模块是某类函数的集合,放置在同一个文件中。Erlang中所有函数都必须定义在模块中。erlang是一个特殊的模块,它会被自动导入。访问模块中的函数的语法为:模块:函数(参数)模块声明编写模块时,声明了两类东西:函数、属性。属性是模块的元数据。描述模块名称、暴露的函数、作者名字等。属性的声明语...
分类:
其他好文 时间:
2015-11-26 06:55:46
阅读次数:
139
Resharper提供以下6个核心功能1.代码分析(CodeAnalysis):智能提示代码中存在的问题和修复建议。2.编码助手(CodingAssistance):智能提示自动完成功能。3.代码生成(CodeGeneration):自动生成属性,构造函数,实现接口,覆盖基类成员,代理成员等4.代码...
分类:
其他好文 时间:
2015-11-26 06:53:08
阅读次数:
162
Very good DP one.First I figured out a O(n^2) solution:class Solution {public: int maxProfit(vector& prices) { int n = prices.si...
分类:
其他好文 时间:
2015-11-26 06:52:46
阅读次数:
259