Example 1
- Input
- s1 = "aabcc", s2 = "dbbca", s3 = "aadbbcbcac"
- Output
- true
One valid merge is aa from s1, dbbc from s2, bc from s1, a from s2, then c from s1. Joining those pieces yields aadbbcbcac and reading either source alone preserves its original order. Other valid choices can exist.