Top
/
Data structures
/
Lists
/
Linked
/
Answer-linkedlist-2
Answer to Question linkedlist-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
.