What’s difference between Stack and Queue?

By drakula david in 22 Sep 2023 | 11:31 am
drakula david

drakula david

Student
Posts: 128
Member since: 22 Sep 2023

What’s difference between Stack and Queue?

22 Sep 2023 | 11:31 am
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

- Stack is a data structure that follows the Last-In-First-Out (LIFO) principle, while Queue follows the First-In-First-Out (FIFO) principle. Stacks are used for tasks like function call management, and queues are used for tasks like managing tasks in a print queue.


23 Sep 2023 | 04:21 pm
0 Likes

Report

Please describe about the report short and clearly.