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