Given a set of two strings guaranteed to be the same length, print their criss cross.
The criss cross of two strings is obtained as follows.
- Yield the second character of the second string, then the first character of the first string.
- Yield the first character of the second string, then the second character of the first string.
- Discard the first character of each string.
- If the strings have more than one character each, go back to step 1.
For example, if the two strings are
the criss cross is
as illustrated in the following diagram.
Each color represents a different iteration of criss-crossing. The numbers show the corresponding character's indices in the output.