https://leetcode.com/problems/binary-tree-maximum-path-sum/Given a binary tree, find the maximum path sum.For this problem, a path is defined as any s...
分类:
其他好文 时间:
2016-01-04 13:19:32
阅读次数:
219
话说ML进化树如果要进行高bootstrap值的验证的话对于计算能力要求是很高的。不并行做基本不可能。所以下了一个RAxML,在linux下有好几种编译方式,看了一下手上的机器支持AVX指令集,所以选择AVX-MPI方式吧。先安装openmpi,照网上教程编译就行,就是略慢。但是安装完mpicc之后...
分类:
其他好文 时间:
2016-01-03 20:51:13
阅读次数:
353
Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assum...
分类:
其他好文 时间:
2016-01-02 08:42:49
阅读次数:
341
Given a binary tree, find the maximum path sum.
For this problem, a path is defined as any sequence of nodes from some starting node to any node in the tree along the parent-child connections. The ...
分类:
其他好文 时间:
2015-12-31 12:58:16
阅读次数:
172
<!DOCTYPEhtml>
<html>
<head>
<metacharset="utf-8">
<metahttp-equiv="X-UA-Compatible"content="IE=edge">
<metaname="viewport"content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/&..
分类:
移动开发 时间:
2015-12-28 18:40:35
阅读次数:
206
题目:Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,?1...
分类:
其他好文 时间:
2015-12-27 09:37:59
阅读次数:
191
1146. Maximum SumTime limit: 0.5 secondMemory limit: 64 MBGiven a 2-dimensional array of positive and negative integers, find the sub-rectangle with t...
分类:
其他好文 时间:
2015-12-26 11:32:22
阅读次数:
210
meta篇1.视窗宽度其中width=device-width是设置视窗宽度为设备视窗宽度,还可以固定宽度,例如:width=640则是640px的宽度(常见于微信);initial-scale=1.0:设置缩放比例为1.0;minimum-scale=1.0和maximum-scale=1.0:最...
分类:
移动开发 时间:
2015-12-25 23:46:07
阅读次数:
248
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:
其他好文 时间:
2015-12-25 20:59:38
阅读次数:
167
Q1:手机端开发网页,界面适应问题。A1:<metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>width-viewport的宽度height-viewport的高度initial-scale-初始的缩放比例minimum-scale-允许用户缩放到的最小比例max..
分类:
移动开发 时间:
2015-12-24 16:37:06
阅读次数:
176