摘要:
算法分析:两种方法,一种是中序遍历,然后得到一个序列,看序列是否是有序的。第二种,是用递归。 中序遍历: 递归: 阅读全文
posted @ 2016-09-02 22:10
32ddd
阅读(215)
评论(0)
推荐(0)
摘要:
问题描述: Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example,Given:s1 = "aabcc",s2 = "dbbca", When s3 = "aadbbcbcac 阅读全文
posted @ 2016-09-02 20:23
32ddd
阅读(334)
评论(0)
推荐(0)