Concept Flow - Check if Stack is Empty or Full
Start
Check if stack pointer == -1?
Stack is [Check if stack pointer == max-1?
Stack is [Stack has space
We check the stack pointer to see if it is -1 (empty) or max-1 (full) to determine stack state.
