The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from linked list's own run on the numbers shown.
choose one
1question 1
An empty chain kept in order puts in 46, 9 and 56, takes 9 out, then puts in 15. What does the chain hold then, from the start?
the answer, and why
the answer is D
After 9 leaves, the chain holds 46, 56. 46 is bigger than 15, so the first look stops the walk and 15 goes in at the start.
if you chose another
AThat keeps 9, but the fourth operation takes 9 out.
BThat puts 15 at the end, but a put stops at the first bigger number, 46.
CThat loses 46. Taking 9 out links the start to 46, which stays.