Pergunta de entrevista da empresa eBay

Had me try and combine two arrays