Pregunta de entrevista de Qualcomm

Write code to turn an array into a linked list with the same data.