Stack
Description
• Effective concept to save and take data with rule Last In First Out / LIFO
Push ()
Example push ()
Pop ()
Example pop ()
Practicum
Exercise
• Case study : mathematic expression evaluation
• Expression : in postfix notation
• Operator : *, /, +, -, ^
• Example :
• Input : AB*C/ || Output : (A*B)/C