ExamPlay Dark Logo
Se connecter

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.

Explication

Stacks use LIFO and queues use FIFO.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc