摘要: 最近遇到一个问题就是在控制结点上查找nova数据库中 select * from compute_nodes\G;中出现IP地址一直是127.0.0.1不是计算结点的IP,就算修改成计算结点的IP,也还是会刷新为127.0.0.1.猜想肯定是nova配置文件错误或者没有添加哪一项,后来经人指点,... 阅读全文
posted @ 2014-04-16 10:44 Awy 阅读(553) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ... 阅读全文
posted @ 2014-04-16 10:04 Awy 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i... 阅读全文
posted @ 2014-04-16 09:12 Awy 阅读(155) 评论(0) 推荐(0) 编辑