Question d’entretien chez Qualcomm

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