Encyclopedia > Reverse polish notation

  Article Content

Reverse polish notation

Reverse polish notation (RPN) is a method for describing arithmetic operations, popularized by the HP-35 calculator in the 1970s. Unlike infix notation, which puts the operator between two operands (e.g., 5 + 12), RPN puts the two operands first followed by the operator (e.g., 5 12 +).

Provide two examples of the usage of the Stack data structure in programming. These should be realistic examples



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Urethra

... of the urethra: Hypospadias[?] is a form of abnormal development of the urethra in the male, where the opening is not quite where it should be (it occurs lower th ...

 
 
 
This page was created in 57.7 ms