Free problems › Evaluate Reverse Polish Notation
Stack Simulation / Parsing · Expression parsing

Evaluate Reverse Polish Notation

LeetCode 150 · Module: Stack, Queue & Monotonic

The scenario

you only care about the most recent unresolved item or the strongest candidate still standing, so old state has to be removed in the right order.

What you'll learn

Full video, code, and the workspace are part of PatternMastery Pro — 500 problems for one $9.99 payment.

PatternMastery Pro · More free problems · Pricing