An interesting approach on checking if a tree is a sub tree of another
mohit.athwani.net
mohit.athwani.net
2 1
/ \ \
1 3 3
The pre-order strings match (213 & 13) but the second tree is not a subtree of the first.The in-order strings (123 & 13) don't match.