Q33.webp
H

Q33.webp

Question: 33
(Choose 1 answer)
What is the correct operation to insert a new node at the beginning of a linked list?
A. Create a new node, set its next' to 'head', update 'head' to the new node
B. Create a new node, set 'head''s next to the new node, update 'head' to the new node
C. Create a new node, append it to the end
D. Create a new node, set its next to 'nullptr, and do not update 'head'

Thông tin

Category
CSD202
Thêm bởi
Hồng Nhung
Ngày thêm
Lượt xem
559
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom