Top
/
Linked lists
/
Answer-26B-2
Answer to Question 26B-2
X
= [2,4,6],
Y
= [4,6] and
k
= 4. The last statement,
tail(X);
computes tail(
X
) and ignores the result. It does not modify variable
X
.