0
Which order is this?(pre order, in order, post order)
"Data structure question" ( -B + SQRT ( B2 – (4*A*C*D*E) ^ 5) ) / 2*A*sin(x) And how to show it in other orders?
1 Antwort
+ 2
Looks like in-order to me.
In-order: a + b - c
Pre-order: - c + a b
Post-order: a b + c -
In order: Op in the middle of two params
Pre-order: Op before two params
Post-order: Op after two params
So to see it clearly:
In-order: ((a + b) - c)
Pre-order: (- c (+ a b))
Post-order: ((a b +) c -)