Computer Science, asked by krystle16, 1 year ago

what is the difference between stacks and queues

Answers

Answered by nayanjain50830
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
nayanjain50830: heyy
krystle16: ur intro
Similar questions