Interview Question

Senior Software Engineer Interview San Jose, CA

How would you recursively count the leaves on a binary tree?


Interview Answer

1 Answer


traverse the tree counting child nodes

Interview Candidate on Aug 27, 2010

Add Answers or Comments

To comment on this, Sign In or Sign Up.