1.

public void func (Tree root){  func (root.left ());  func (root.right ());  System.out.println (root.data ());}
7.Consider the following piece of code. What will be the space required for this code?

A. 2n+8
B. 2n+4
C. 2n+2
D. 2n
Answer» B. 2n+4


Discussion

No Comment Found