What does the other nodes of an expression tree(except leaves) contain?
(a) only operands
(b) only operators
(c) both operands and operators
My question is taken from Trees topic in division Trees of Data Structures & Algorithms I
I have been asked this question during an interview for a job.