Amazon Interview Report
- 0of 0 votes
AnswersGiven a graph and asked to print some order which is BFS..so asked to implement BFS
- Minnu December 27, 2012 in United States
and each node is of type person
class person{
int ssn;
String name;
}| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
Answersgiven arr1 = {5,6,4,2,2} arr2={4,2,2,1}
- Minnu December 27, 2012 in United States
return common elements {4,2,2}| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer - 0of 0 votes
AnswersHashMap h=new HashMap;
- Minnu December 27, 2012 in United States
h.put(1,tom);
h.put(1,tom)
how hashmap deal with duplicate entries...
"What will happen if two different objects have same hashcode?”| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.