Background

One DSA Question a day

Today's DSA Question

Evaluate Reverse Polish Notation

Medium

Tags: stack

Evaluate an arithmetic expression given in Reverse Polish Notation. Use a stack to process operators and operands, popping numbers to compute results and pushing them back for further calculations.

Try this question