Adobe Interview Question for Developer Program Engineers


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
1
of 1 vote

:-O

- teli.vaibhav July 03, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

is the question complete?if yes then plz someone explain it

- Anonymous July 03, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

I guess it as "Find the path and print it in a BST whose sum is S".......but it may be the trick of interviewer to check if you have mugged up the questions or not......:P

- L.Ppt July 03, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

this question is as follows:-

given a binary tree and a value S, print the root to leaf node path, that if we take sum of all the elements on the path, it will give value S.
I was asked this question in Amazon interview. The question is damn easy. Use recursion.

- Rohit July 12, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Still don't get it... Show the sum of all nodes of BST??

public int Sum(Node root)
{
   return root.Data + Sum(root.Left) + Sum(root.Right);
}

- TS July 12, 2012 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More