摘要: 10.5 If you were designing a web crawler, how would you avoid getting into infinite loops?这道题问如果让我们设计一个网络爬虫,怎么样才能避免进入无限循环。那么何谓无限循环呢,如果我们将网络看做一个图Graph,... 阅读全文
posted @ 2015-10-08 22:51 Grandyang 阅读(1348) 评论(0) 推荐(0) 编辑
摘要: 10.4 You have an array with all the numbers from 1 to N, where N is at most 32,000. The array may have duplicate entries and you do not know what N is... 阅读全文
posted @ 2015-10-08 11:23 Grandyang 阅读(739) 评论(0) 推荐(0) 编辑
Fork me on GitHub