2075 4

CSC211 ยท 2075 ยท 5 marks

Compare stack with queue. How is linear queue different from circular queue?

Compare stack with queue. How is linear queue different from circular queue? [5]

Data Structures and AlgorithmsChapter 2: StackBasic Concept of Stack, Stack as an ADT, Stack Operations, S

--- Basis Stack Queue --------- Principle Last In First Out (LIFO) First In First Out (FIFO) End of Operation Insertion and deletion both occur at one end called the top Insertion occurs at the rear end and deletion occurs at the front end Operations PUSH (insert) and POP (delete) Enqueue (insert...