2015-02-02 17:49:09,035 ERROR basic.DBManager - Failded to establish the connection.com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communicat...
分类:
其他好文 时间:
2015-12-21 18:09:05
阅读次数:
197
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2015-12-21 17:38:09
阅读次数:
126
题目:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2015-12-20 07:06:48
阅读次数:
2213
题目:最大字段积。分析:dp,最大字段和类似物。求解过程同最大字段和。 这里注意,设置两个状态:以本元素结束时,最大正值和最小的负值。 更新时。假设data[i]为正,则相应跟新,假设data[i]为负。则交叉跟新, data[i]为0时,当前最大值,最小值置零。 ...
分类:
其他好文 时间:
2015-12-19 09:51:10
阅读次数:
210
Maximum Subarray DifferenceGiven an array with integers.Find two non-overlapping subarrays A and B, which |SUM(A) - SUM(B)| is the largest.Return the ...
分类:
其他好文 时间:
2015-12-18 08:02:30
阅读次数:
231
Maximum Subarray IIGiven an array of integers, find two non-overlapping subarrays which have the largest sum. The number in each subarray should be co...
分类:
其他好文 时间:
2015-12-18 06:53:38
阅读次数:
188
支持向量机即Support Vector Machine,简称 SVM 。我最开始听说这头机器的名号的时候,一种神秘感就油然而生,似乎把 Support 这么一个具体的动作和 Vector 这么一个抽象的概念拼到一起,然后再做成一个 Machine ,一听就很玄了!不过后来我才知道,原来 SVM 它...
分类:
其他好文 时间:
2015-12-17 22:22:43
阅读次数:
236
Expectation Maximization (EM)是一种以迭代的方式来解决一类特殊最大似然 (Maximum Likelihood) 问题的方法,这类问题通常是无法直接求得最优解,但是如果引入隐含变量,在已知隐含变量的值的情况下,就可以转化为简单的情况,直接求得最大似然解。我们会看到,上一次...
分类:
其他好文 时间:
2015-12-17 22:18:46
阅读次数:
233
如题,这种方式做的移动Web页面,设计稿通常是按照960*640的规格进行设计,再开发的时候,通常会把里面量到的尺寸缩小一半再开发。<metaname=”viewport”content=”width=device-width,initial-scale=1,maximum-scale=1″>那既然要缩小一半再开发,为什么不直接设置widt..
分类:
移动开发 时间:
2015-12-17 13:07:07
阅读次数:
3650
Maximum Depth of Binary TreeTotal Accepted:107337Total Submissions:231121Difficulty:EasyGiven a binary tree, find its maximum depth.The maximum depth ...
分类:
其他好文 时间:
2015-12-17 10:30:57
阅读次数:
147