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 78, 17 and 86, takes 17 out, then puts in 23. What does the chain hold then, from the start?
the answer, and why
the answer is B
After 17 leaves, the chain holds 78, 86. 78 is bigger than 23, so the first look stops the walk and 23 goes in at the start.
if you chose another
AThat keeps 17, but the fourth operation takes 17 out.
CThat puts 23 at the end, but a put stops at the first bigger number, 78.
DThat loses 78. Taking 17 out links the start to 78, which stays.