Skip to content

Evaluate Reverse Polish Notation #400

@singhanuj620

Description

@singhanuj620

Enter your question -

Evaluate the value of an arithmetic expression in Reverse Polish Notation.

Valid operators are +, -, *, and /. Each operand may be an integer or another expression.

Note that division between two integers should truncate toward zero.

It is guaranteed that the given RPN expression is always valid. That means the expression would always evaluate to a result, and there will not be any division by zero operation.

Enter link to the question(if question belongs to any online platform) -

https://leetcode.com/problems/evaluate-reverse-polish-notation/

Tags for the question(eg - Array, Basic, Stack, etc.) -

Stack

Metadata

Metadata

Assignees

Labels

Level 220 PointsOnlineQuestion belongs to online platformshacktoberfestUnder Hacktoberfest 2021

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions