CSD201_-_FA_2024_-_RE_3087.webp
Hữu Nghĩa

CSD201_-_FA_2024_-_RE_3087.webp

(Choose 1 answer)
A. void enqueue(Object x){ Node p = new Node(x);p.next = null;tail.next = p;tail = p;}
B. void enqueue(Object x){ Node p = new Node(x);p.next = null;if(isEmpty())head = tail = p;else{tail.next = p;tail = p;}
}
C. void enqueue(Object x){ Node p = new Node(x);p.next = null;if(isEmpty())head = tail = p;elsetail.next = p;}
D. void enqueue(Object x){ Node p = new Node(x);p.next = null;if(isEmpty())head = tail = p;elsetail = p;}


12

Thông tin

Category
CSD201
Thêm bởi
Hữu Nghĩa
Ngày thêm
Lượt xem
6,496
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
CSD201_-_FA_2024_-_RE_3087.webp
File size
209.1 KB
Dimensions
1920px x 1012px

Share this media

Back
Bên trên Bottom