A9.com interview question

Check whether a string in an interleave of 2 given strings