Want a Free Job Posting?

Buy a job posting today and the second one is on us. For a limited time only. Act Now.

Interview Question

Interview San Diego, CA

Binary tree , left node has smallest value . Print

  5 10 20 25 and then “count of nodes=4”…

Interview Answer

2 Answers


recursion ... defined "current=head" in the method so it doesn't changes ofcourse, even if I sent current.next in recursion... don't be nervous!

Interview Candidate on Jan 26, 2011

Did not get this question? Could you please eleborate it more?

Algo on Mar 9, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.