2014年10月22日

摘要: Clone GraphClone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes ar... 阅读全文
posted @ 2014-10-22 20:48 Yu's Garden 阅读(942) 评论(0) 推荐(0) 编辑
摘要: Iterative vs. Recursive ApproachesEyal Lantzman, 5 Nov 2007 CPOLIntroductionThis article was originally posted at blogs.microsoft.co.il/blogs/Eyal.Re... 阅读全文
posted @ 2014-10-22 18:22 Yu's Garden 阅读(895) 评论(0) 推荐(0) 编辑
摘要: Maximum Product SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given... 阅读全文
posted @ 2014-10-22 18:06 Yu's Garden 阅读(1148) 评论(0) 推荐(1) 编辑

导航