Qualcomm Interview Question: Binary tree , left node has s... | Glassdoor

Interview Question

Engineer - QCS Server Web Applications Development 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.