O'Reilly logo

Test-Driven Java Development - Second Edition by Viktor Farcic, Alex Garcia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Kata – Reverse Polish Notation

RPN is a notation used for representing mathematical expressions. It differs from the traditional and widely used infix notation in the order of operators and operands.

In infix notation the operator is placed between the operands, whereas in RPN, operands are placed first and the operator is located at the end. 

This is an expression written using infix notation:

3 + 4

The same expression written using RPN:

3 4 +

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required