Pregunta de entrevista de Wayfair

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