Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
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
- I have read the Contributing Guidelines
- I'm a GSSOC'24 contributor
- I have starred the repository
- I have read and followed the Contribution Guidelines
- I have followed the code style guidelines of this project
- I have checked for any existing open issues that my pull request may address
- I have ensured that my changes do not break any existing functionality
- Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently
- I have read the resources for guidance listed below
- I have not used AI-generated content (e.g., ChatGPT, other AI tools)
- I have not used content from existing sites (e.g., text, images)
- I have followed all security rules and only shared trusted resources
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done