## Question 1 What is the output if the following linked list is provided as input? 4 → 2 → 7 → 8 → 9 → 0 → 2 ### Options 1. 9 → 0 → 2 → 8 → 4 → 2 → 7 Incorrect ---------------------------- 2. 7 → 2 → 4 → 8 → 2 → 0 → 9 Incorrect ---------------------------- 3. 2 → 0 → 9 → 8 → 7 → 2 → 4 Correct The linked list is reversed from start to end. ---------------------------- 4. 0 → 2 → 2 → 4 → 8 → 9 Incorrect ---------------------------- --------------------------------------------- ## Question 2 What is the output if the following linked list is provided as input? 9 → 5 → 8 → 2 → 1 ### Options 1. 2 → 1 → 8 → 9 → 5 Incorrect ---------------------------- 2. 5 → 9 → 8 → 1 → 2 Incorrect ---------------------------- 3. 1 → 2 → 5 → 8 → 9 Incorrect ---------------------------- 4. 1 → 2 → 8 → 5 → 9 Correct The linked list is reversed from start to end. ---------------------------- --------------------------------------------- ## Question 3 What is the output if the following linked list is provided as input? 6 → 6 → 7 → 7 → 8 → 8 → 9 → 9 → 0 → 0 ### Options 1. 8 → 9 → 9 → 0 → 0 → 6 → 6 → 7 → 7 → 8 Incorrect ---------------------------- 2. 0 → 0 → 9 → 9 → 8 → 8 → 7 → 7 → 6 → 6 Correct The linked list is reversed from start to end. ---------------------------- 3. 8 → 7 → 7 → 6 → 6 → 0 → 0 → 9 → 9 → 8 Incorrect ---------------------------- 4. 0 → 0 → 6 → 6 → 7 → 7 → 8 → 8 → 9 → 9 Incorrect ---------------------------- --------------------------------------------- ## Question 4 What is the output if the following linked list is provided as input? 0 → 1 → 2 → 3 → 4 → 5 → 6 ### Options 1. 4 → 5 → 6 → 3 → 0 → 1 → 2 Incorrect ---------------------------- 2. 6 → 5 → 4 → 3 → 2 → 1 → 0 Correct The linked list is reversed from start to end. ---------------------------- 3. 2 → 1 → 0 → 3 → 6 → 5 → 4 Incorrect ---------------------------- 4. 0 → 5 → 4 → 3 → 2 → 1 → 6 Incorrect ---------------------------- ---------------------------------------------