摘要: Suppose n is the number of list, then the runtime is O(n^2/2), space is O(n) We create an integer array of size n, which is also the number of digits 阅读全文
posted @ 2016-01-31 12:39 爱推理的骑士 阅读(156) 评论(0) 推荐(0) 编辑
摘要: In this problem, we cannot find an efficient recursion way to set up the next pointer. For example, we can do like this, in this way we may set up too 阅读全文
posted @ 2016-01-31 10:52 爱推理的骑士 阅读(132) 评论(0) 推荐(0) 编辑