Amazon Interview Report
- 0of 0 votes
AnswersA client is deploying a web service from a server. The web service is slow. What would you do to find the root cause of the slowness?
- Chris Gayle VVS Laakmann December 17, 2009| Report Duplicate | Flag | PURGE
Amazon Networking / Web / Internet - 0of 0 votes
AnswersGiven a log file, which contains a series of websites, which the user has visited, find the most frequent path of 3 websites.
- Chris Gayle VVS Laakmann December 17, 2009
e.g: If this is a log file
A B C D E
A C D B E
C D E B A
A C D E B
C D E A B
clearly, C D E in the most frequent website?
First I said graph, then I said hash table. Hash every 3 consecutive web sites and increment in Hash Table. Parse through HT and keep a variable which stores the max value you get the answer.| Report Duplicate | Flag | PURGE
Amazon Algorithm - 0of 0 votes
Answersgiven 2 dates, find if the 2 dates are a month apart, more than a month apart, less than a month apart.
- Chris Gayle VVS Laakmann December 17, 2009
I asked him to define "month apart"
He said, same day but previous or next month.| Report Duplicate | Flag | PURGE
Amazon Algorithm