Interleaving String

来源:互联网 发布:淘宝其他店铺流量来源 编辑:程序博客网 时间:2024/06/05 05:30

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”, return true.
When s3 = ”aadbbbaccc”, return false.

0 0
原创粉丝点击