Amazon Interview Report
- 0of 0 votes
Answers//Q. Write an algorithm that will take two dates and tell you if they are more than a month apart, less than a month apart or exactly a month apart.
- JSDUDE April 08, 2013 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer C# - 0of 0 votes
Answers1. What is difference between override and overload
- JSDUDE April 08, 2013 in United States
2. abstract. when will u use abstract
3. what is an interface
4. what is difference betwwen array and link list
5. what is a tree
6. what is a map\dictionary
7. Explain (orally) how would you implement a dictionary via a tree| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer C++ - 0of 0 votes
AnswersThere are different buildings in one environment, each with machines that can handle one request at a time. How would you design the request handling so that there is no single fail-point and is scalable.
- JSDUDE April 08, 2013 in United States
Hint: It is ok if a request is sent to a machine that is already servicing another request. We can handle requests that come back from a machine. But he didnot want a lock on a single file that contained the data of empty machines
Follow up question was, lets say BLDG-A has 250 free machines, BLDG-B has 500 free machines, BLDG-C has 100 free machines and BLDG-D has 0. How would you assign requests? What if you had 850 requests at the same time? Why would you assign what you did?| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Distributed Computing