"""Coverage: Plant and equipment often constitute a considerable part of a building contractor's investment. Contractor's Plant and Machinery insuranc...
分类:
Web程序 时间:
2014-07-10 00:25:14
阅读次数:
211
微软近期Open的职位:Job Description:Do you want to play a key part in building a multi-billion dollar revenue product for Microsoft? Are you passionate about ...
分类:
其他好文 时间:
2014-07-07 19:44:16
阅读次数:
322
Problem Description:Given a binary tree, flatten it to a linked list in-place.Solution:对二叉树进行前序遍历(pre-order). 1 public void flatten(TreeNode root) { 2...
分类:
其他好文 时间:
2014-07-07 18:47:24
阅读次数:
306
class Solution {public: int longestConsecutive(vector &num) { int len = num.size(); int max_cons = 0; int cur_cons = 0...
分类:
其他好文 时间:
2014-06-30 14:19:28
阅读次数:
159
class Solution {public: bool isPalindrome(string s) { int len = s.length(); //if (len -1 && !(b = check2lower(s[q])) ); i...
分类:
其他好文 时间:
2014-06-30 13:43:33
阅读次数:
178
class Solution {public: int minPathSum(vector > &grid) { int rows = grid.size(); if (rows pathsum(cols + 1, INT_MAX); pathsum...
分类:
其他好文 时间:
2014-06-30 13:23:04
阅读次数:
153
class Solution {private: vector > res;public: vector > combine(int n, int k) { res.clear(); vector path; dfs(1, n, k, path)...
分类:
其他好文 时间:
2014-06-30 12:49:12
阅读次数:
205
Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings.Solution:public class Solution { public ...
分类:
其他好文 时间:
2014-06-30 12:18:25
阅读次数:
255
【题目】
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: Recursive solution is trivial, could you do it iteratively?
【题意】
非递归实现后续遍...
分类:
其他好文 时间:
2014-06-30 10:10:10
阅读次数:
177
本文教你在SharePoint上创建集成Excel数据和Excel Web Access Web部件。Excel Web Access Web部件在SharePoint中Excel电子表单里呈现数据。...
分类:
数据库 时间:
2014-06-27 23:59:05
阅读次数:
526