Interleave Arrays

Easy · rating 950 · Arrays

The first line has n. The next two lines each have n integers. Print them interleaved: first element of each, then the second of each, and so on, space-separated.

Constraints: 1 ≤ n ≤ 105

Related problems

Open Interleave Arrays in Code Arena →