The process took 1 day. I interviewed at Amazon (Seattle, WA) in Sep 2011
Interview
The interview consisted of 4 of 1:1 interview with 45 min each. One difficult question for me and three average ones. I know the idea of the difficult one but did not code well. I guess that's the reason they rejected me. People are nice and the working environment is easy.
Interview questions [3]
Question 1
find the most frequent appeared web click sequence of 3.
I applied through other source. The process took 2 days. I interviewed at Amazon in Sep 2011
Interview
Amazon contacted me when I updated my resume on Monster. After a call from their recruiter, I was asked for a first technical phone interview. I did not do well in that interview, however I got asked to do a second technical interview in which you are asked programming questions I think I did better but I did not get the job.
Interview questions [3]
Question 1
Define the strategy pattern and when could it be used
How would you implement a priority queue. What is the O analysis of your implementation. How would you store a tree structure. How would you implement a tinyURL service.
given a tree write a function isSymmetrical that would find out if the tree is symmetric or not.
-----
Class Node
{
Node leftChild
Node rightChild;
int value;
}
//Write this method:
boolean isSymmetrical(Node treeRoot) {
Examples:
This is symmetrical
7
/ \
5 5
/ \
9 9
/ \ / \
2 8 8 2
This is not symmetrical (value difference):
7
/ \
5 6
/ \
9 9
/ \ / \
2 8 8 2
This is not symmetrical (structural difference)
7
/ \
5 5
/ \
9 9
/ \ /
2 8 8