About this project

This project involves implementing a stack data structure using arrays. A stack is a linear data structure that follows the Last In, First Out (LIFO) principle, meaning the last element added to the stack is the first one to be removed. The main operations in a stack are:

Push: Adds an element to the top of the stack. Pop: Removes the top element from the stack. Peek/Top: Returns the top element of the stack without removing it. isEmpty: Checks if the stack is empty. isFull: (In case of a fixed-size array) Checks if the stack is full.

Built With

Share this project:

Updates