watermark logo

Stack data structure

3 Views
sarada
sarada
03 Feb 2024

A stack is a linear data structure.<br />In this data structure, elements are added to and removed only from one end of the list, that is, top of the stack.<br />It provides the information in the reverse of the entry order, so it is called last-in-first-out(LIFO).<br />The operation of removing an entry from a stack is called a pop operation.<br />The operation of adding an entry to a stack is called push operation.<br />

Show more

0 Comments Sort By

No comments found

Facebook Comments

Up next