Amazon Interview Report
- 0of 0 votes
AnswersGiven a binary tree and a node in the binary tree, find the next node in inorder traversal
- sasi.baratams October 17, 2011 in India| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswersTwo numbers are given in the form of linked list with most significant number as the head, we have to add them and return the resulting number as a linked list again.
- sasi.baratams October 17, 2011 in India
Ex: Input: 1-->2-->3 4-->5 Output: 1-->6-->8| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswersFind the min depth from root to leaf in binary tree
- sasi.baratams October 17, 2011 in India
Ex: 1
2 3
4 5
Output: 1 (since leaf 3 is closest to root)| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 0of 0 votes
AnswersReverse the words in a string
- sasi.baratams October 17, 2011 in India
Ex: Input: “This is Java” Output: Java is This| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.