Interleave Three Equal-Length Strings

Problem: Interleave Three Equal-Length Strings

Given three strings s1, s2, and s3 of the same length, interleave them column by column.

For each index i, append s1[i], then s2[i], the...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: