Which of the following techinique is faster for travelling in binary trees?
A. Iteration
B. Recursion
C. Both (a) and (b)
D. Depends from compiler to compiler
Answer:A
Which of the following techinique is faster for travelling in binary trees?
A. Iteration B. Recursion C. Both (a) and (b) D. Depends from compiler to compiler