Closed katarianikita2003 closed 1 week ago
Hi @katarianikita2003! Thanks for opening this issue. We appreciate your contribution to this open-source project. Your input is valuable and we aim to respond or assign your issue as soon as possible. Thanks again!
@Ajay-Dhangar , please assign it to me
Hello @katarianikita2003! Your issue #1263 has been closed. Thank you for your contribution!
Is there an existing issue for this?
Issue Description
implement the evaluation of Reverse Polish Notation (RPN) in Java, you can use a stack to manage the operands. The idea is to iterate through the array of tokens and, for each token:
If it's a number, push it onto the stack. If it's an operator, pop the required number of operands from the stack, perform the operation, and push the result back onto the stack.
Suggested Change
Add solution to the problem 0150-Reverse Polish Notation
Rationale
No response
Urgency
High
Acknowledgements