Computer Science, asked by rohitg12, 1 year ago

what is the use of stacks and queue? And any 2 difference between them?


Aishwarya98: mark me as brainliest

Answers

Answered by Aishwarya98
2

Stack:


1. Last in First out order


2. Deletion and insertion is performed at the top of the stack only.


Queue:


1. First In first out order


2. Deletion and insertion can be performed at both the ends (Front end and the rear end)

Similar questions