Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easie...
分类:
Web程序 时间:
2014-07-16 23:25:24
阅读次数:
601
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:
其他好文 时间:
2014-07-10 11:24:15
阅读次数:
229
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.方法一:最先想到的就是递归,注...
分类:
其他好文 时间:
2014-07-10 09:58:40
阅读次数:
224
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.方法:在inorder中寻找...
分类:
其他好文 时间:
2014-07-07 23:18:53
阅读次数:
283
Longest Palindromic SubstringGiven a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there...
分类:
其他好文 时间:
2014-06-30 13:21:00
阅读次数:
202
题目
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows
like this: (you may want to display this pattern in a fixed font for better legibility)
P A H N
A...
分类:
其他好文 时间:
2014-06-30 00:07:36
阅读次数:
268
题目
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
Below is one possible representation of s1 = "great":
great
/...
分类:
其他好文 时间:
2014-06-29 23:16:19
阅读次数:
312
故障重现:某集团准备测试使用SCVMM2012R2来管理当前企业内部异构虚拟环境及群集,计划测试后正式上线,测试途中,添加了一个现有的Hyper-v群集,But,添加失败了,在SCVMM中,无法删除失败的群集,而且继续添加群集。解决思路:首先尝试使用Powershell语句,强行Remove群集,..
分类:
其他好文 时间:
2014-06-29 21:11:05
阅读次数:
424
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2014-06-29 20:28:58
阅读次数:
183
应用和数据库发展cluster还需要HA软件吗?所谓集群技术(cluster),也有译为群集,涵盖了三个技术方向:高可用HA(HighAvailability);负载均衡LB(LoadBalance);高性能运算HPC(HighPerformanceComputing)。对于商业领域的IT应用主要关心高可用HA和负载均衡LB这两部分。为..
分类:
数据库 时间:
2014-06-28 06:49:09
阅读次数:
396