I am having some difficulty in understanding the time complexity for displaying generic tree and finding total number of nodes in it . I have looked for some articles online