From charlesreid1

Revision as of 17:42, 13 June 2017 by Admin (talk | contribs)

Expression Trees:

Binary Trees representing arithmetical or syntax expressions. A few examples:

  • Reverse Polish notation
  • Postfix expressions
  • Order of operations () nested expressions

Programming question: Write a program that can parse complex expression syntax like,

"(a+b)/(c+(d*e))"

Shunting Yard Algorithm

Algorithm by Dijsktra, helps convert infix notation like 3+5 into postfiix notation like 3 5 +



Flags