Expression Tree

Expression = 9

Postfix    3 8 * 5 3 - 7 * - 5 2 3 + / -

Binary Tree
Click on an operation below to see its expression

SUB ⊖
SUB ⊖
MUL ⊗ 3  8
MUL ⊗
SUB ⊖ 5  3
 7
DIV ⊘ 5
ADD ⊕ 2  3


Ref:  HTML Details tag

Tree style from Jen Kramer

This page was modified from microJ page on automata theory. Details tag is useful to display trees (similar to JTree in Java).