摘要: Write a program to find the node at which the intersection of two singly linked lists begins. The following two linked lists: begin to intersect at no 阅读全文
posted @ 2016-03-23 09:01 哥布林工程师 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given three strings: s1, s2, s3, determine whether s3 is formed by the interleaving of s1 and s2. For s1 = "aabcc", s2 = "dbbca" 动态规划,用一个二维数据记录:s1前i个字 阅读全文
posted @ 2016-03-23 08:52 哥布林工程师 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Given an array with positive and negative integers. Re-range it to interleaving with positive and negative integers. Given [-1, -2, -3, 4, 5, 6], afte 阅读全文
posted @ 2016-03-23 02:35 哥布林工程师 阅读(146) 评论(0) 推荐(0) 编辑