Google Interview Question

Question related to merging two arrays