Skip to content

stantmob/expression_analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stant Dojo #1

Given a mathematical expression in infix notation, evaluate its result.

For example:

3 * (2 + 5) = 21

3 * (2 + 5 * 2) = 36

Tip: In the usual infix notation, operators are written between the operands. In the postfix notation, the operators are written after the operands.

Infix: 3 * (2 + 5)

Postfix: 3 2 5 + *

Source: http://dojopuzzles.com/

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages