Represent the following expression by means of binary tree :
a*c/d+(R-5^a*d)/2*x -(-d)
+
/ \
* -
/ \ / \
a / / -
/ \ / \ \
c d - * d
/ \ / \
R * 2 x
/ \
^ d
/ \
5 a
Comments
Leave a comment