Skip to content

Create Evaluate Postfix Expression#38

Open
kush788 wants to merge 1 commit intoAditya-K477:mainfrom
kush788:main
Open

Create Evaluate Postfix Expression#38
kush788 wants to merge 1 commit intoAditya-K477:mainfrom
kush788:main

Conversation

@kush788
Copy link
Copy Markdown

@kush788 kush788 commented Oct 13, 2024

while evaluate the postfix expression, we can use a stack. Each time we encounter an operand (a number), we push it onto the stack. When we encounter an operator, we pop the necessary operands from the stack

while evaluate the postfix expression, we can use a stack. Each time we encounter an operand (a number), we push it onto the stack. When we encounter an operator, we pop the necessary operands from the stack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant