Amazon Interview Report
- 0of 0 votes
AnswersFInd all nodes which are of distance K from a given node.
- moveon February 13, 2012 in India
A
B | C
| D E ( C children)
| I J | M N (D,E Children
| P ( I children)
| Q ( p children)
for a given node J and distance 2 you should print all the below nodes Q,M,N,C (its children, parent, siblings children) etc....| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm - 1of 1 vote
AnswersImplement LRU cache .
- moveon February 13, 2012 in India| 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.