Maximum Subarray Maximum Subarray Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example ...
分类:
编程语言 时间:
2016-03-27 23:55:18
阅读次数:
252
题目:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique lon ...
分类:
编程语言 时间:
2016-03-27 01:15:39
阅读次数:
253
Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array [2,3,-2,4],t ...
1、 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 farthes
分类:
其他好文 时间:
2016-03-22 19:06:39
阅读次数:
114
题目: 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 a
分类:
其他好文 时间:
2016-03-21 01:35:31
阅读次数:
202
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 l
分类:
其他好文 时间:
2016-03-18 09:27:07
阅读次数:
131
What is Integer Overflow? Storing a value greater than maximum supported value is called integer overflow. Integer overflow on its own doesnt lead to ...
分类:
系统相关 时间:
2016-03-18 00:13:32
阅读次数:
228
第一次写这方面的blog.自己也是初次接触相关知识,写的有不妥的地方十分欢迎大家指正~ 这是浙大PAT上的一道算法题(据说是浙大04年研究生复试题),题目是这样的: Maximum Subsequence Sum Given a sequence of KK integers { N_1N?1??,
分类:
编程语言 时间:
2016-03-17 21:35:24
阅读次数:
786
我们在开发移动设备的网站时,最常见的的一个动作就是把下面这个东西复制到我们的head标签中: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=
分类:
移动开发 时间:
2016-03-17 21:12:20
阅读次数:
372