Evaluate the value of an arithmetic expression in Reverse Polish Notation (postfix).
Input: tokens=['2','1','+','3','*'] Output: 9 ((2+1)*3) Input: tokens=['4','13','5','/','+'] Output: 6 (4+(13/5))
Unlock hints progressively β start gentle, go deeper only if needed.
Level 1: Gentle Nudge
A subtle direction
Level 2: Approach
The algorithm to use
Level 3: Detailed
Step-by-step guidance
to save progress and use AI features