Concept Flow - Check if Stack is Empty or Full
Start
Check if stack pointer == -1?
Stack is [Check if stack pointer == max size - 1?
Stack is [Stack has space
The flow checks if the stack pointer is -1 to decide if the stack is empty. If not empty, it checks if the pointer reached max size - 1 to decide if the stack is full.
