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