prabhupant / python-ds

No non-sense and no BS repo for how data structure code should be in Python - simple and elegant.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Find if a string is interleaved of two other strings

nikhilanu opened this issue · comments

Given three strings A, B and C. Write a function that checks whether C is an interleaving of A and B. C is said to be interleaving A and B, if it contains all characters of A and B and order of all characters in individual strings is preserved.

I'm working on this issue.