ExamPlay Dark Logo
Prihlásiť sa

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.

Vysvetlenie

Stacks use LIFO and queues use FIFO.

Pripomienky (0)

Ak chcete komentovať, prihláste sa
Reklama
BrainBehindX Inc Logo
©2026; Beží na BrainBehindX Inc