ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 2 - No. 3)

What is the difference between a stack and a queue?
Stacks use LIFO (Last-In, First-Out) and queues use FIFO (First-In, First-Out).
Stacks use FIFO and queues use LIFO.
Stacks and queues are the same.
Stacks use a linear search while queues use a binary search.

Giải thích

Stacks use LIFO and queues use FIFO.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc