Qualtrics interview question

Question using arrays and liked lists