阿里云的CentOS6.5上安装Docker会无法启动,如果直接运行docker-d会看到错误提示:CouldnotfindafreeIPaddressrangeforinterface‘docker0‘.原因就是docker自动尝试的建立bridge的ip段正好被阿里云的路由表完全占据了详细原因可以参见这个帖子:http://hanjianwei.com/2014/07/3..
分类:
其他好文 时间:
2015-07-14 06:25:28
阅读次数:
173
Lowest Common Ancestor of a Binary TreeGiven a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.According to thedefin...
分类:
编程语言 时间:
2015-07-14 00:02:45
阅读次数:
263
Question:Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A: ....
分类:
其他好文 时间:
2015-07-13 23:40:54
阅读次数:
112
题目: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],...
分类:
其他好文 时间:
2015-07-13 22:22:20
阅读次数:
95
题目: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-07-13 22:12:40
阅读次数:
102
Question:Given an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.You may assume tha...
分类:
其他好文 时间:
2015-07-13 22:06:17
阅读次数:
131
Lowest Common Ancestor of a Binary TreeGiven a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.According to thedefin...
分类:
其他好文 时间:
2015-07-13 22:04:56
阅读次数:
126
题目:Follow upfor "Find Minimum in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Suppose a s...
分类:
其他好文 时间:
2015-07-13 22:02:44
阅读次数:
124
题目:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated ...
分类:
其他好文 时间:
2015-07-13 22:02:26
阅读次数:
123
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-07-13 22:01:03
阅读次数:
106