Data Structures and Algorithms20755 marksBasic Concept of Stack, Stack as an ADT, Stack Operations, S
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]
--- 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...