Pergunta de entrevista da empresa Qualcomm

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