what is the difference between stacks and queues
Answers
Answered by
1
a stack is a collection of objects in which objects are accessed in LIFO (Last In First Out) fashion. Whereas a queue is a collection of objects in which objects are accessed in FIFO (First In First Out) sequence.
krystle16:
hi
Similar questions
Social Sciences,
7 months ago
Social Sciences,
7 months ago
English,
7 months ago
Math,
1 year ago
Music,
1 year ago
Math,
1 year ago
Math,
1 year ago
History,
1 year ago