how is a stack different from a queue
Answers
Answered by
2
Answer:
The main differences between stack and queue are that stack uses LIFO (last in first out) method to access and add data elements whereas Queue uses FIFO (First in first out) method to access and add data elements.
Explanation:
Please mark me as brainliest
Similar questions
Hindi,
12 days ago
Chemistry,
25 days ago
Math,
25 days ago
Business Studies,
8 months ago
CBSE BOARD X,
8 months ago
English,
8 months ago