Pergunta de entrevista da empresa Wayfair

How to merge 3 different array into one 3D array (forgot the exact question )