摘要: #题目简述: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: ... 阅读全文
posted @ 2015-03-26 22:10 mrbean 阅读(249) 评论(0) 推荐(0) 编辑
摘要: #题目描述:Compare two version numbers version1 and version2.If version1 > version2 return 1, if version1 int(v2[i]): return 1 ... 阅读全文
posted @ 2015-03-26 19:45 mrbean 阅读(258) 评论(0) 推荐(0) 编辑
摘要: #题目简述:Given numRows, generate the first numRows of Pascal's triangle.For example, given numRows = 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], ... 阅读全文
posted @ 2015-03-26 19:21 mrbean 阅读(225) 评论(0) 推荐(0) 编辑