CSD201_-_SU_2023_-_Block_5_-_RE_759.webp
Vân Anh1

CSD201_-_SU_2023_-_Block_5_-_RE_759.webp

(Choose 1 answer)
below do?
Select the statement that is most correct.
Suppose we are considering a singly linked list which has at least 2 nodes. What does the java code snippet
Node f = head;
while(f.next != tail) f = f.next;
f.next = null;
tail = f
A. It deletes some middle node in the list.
B. It deletes node before the last node.
C. It deletes the last node.
D. It does not make any change on the list.


Exit 26

Thông tin

Category
CSD201
Thêm bởi
Vân Anh1
Ngày thêm
Lượt xem
2,116
Lượt bình luận
23
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_SU_2023_-_Block_5_-_RE_759.webp
File size
52.1 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom