The process took 2 weeks. I interviewed at Amazon in Jan 2011
Interview
Technical Interview - They were basically looking for code optimiztion in terms of space and time complexity
1. WAP to find depth of a binary tree(not binary search tree).
2. WAP to reverse a linked list.
3. WAP to reverse a linked list with a loop.
I wasn't able to develop the logic for the third question and latter I was told that this conversion was not possible.
Then I was asked to write a code to check if reversing was possible
if possible then reverse it otherwise throw an exception.
The second interviewr asked me some basic HR questions related to my projects and java
Diff between final finally and finalize
Diff between abstract class and interface
The I was asked to write a program(and latter code it), to find the find the word which had the max frequency in the given sentence.
Basically they were looking forward to how you approach the problem, so they encouraged to come up with the various approaches and finally implement the best approach
I applied online. The process took 2 days. I interviewed at Amazon (Seattle, WA) in Feb 2011
Interview
Submitted resume through the University Recruiting on Amazon (also, it appears Amazon viewed my profile on my school's job site). Got an email from a recruiter setting up two interviews, both on the phone, each 45 minutes long. Got asked both technical (data structures, algorithms, and coding) and personal questions. Received an email two weeks later asking for another interview. Similar to the previous two but less emphasis on actual code and more on data structures and my background/projects. Both interviewers were very friendly and easy to understand. They even helped walk me through a few things to help me get the correct answer.
I applied through college or university. The process took 3 weeks. I interviewed at Amazon (Seattle, WA) in Nov 2010
Interview
The first interview was the toughest. Coding questions involved max subset sum, linear time sorting (I did counting sort and coded both in java), phone no. extraction from a big log (I used bash and perl). Finally a problem was asked about querying on data streams and I walked through a probable answer. Importance was given to algorithms and complexity analysis but I was confident in that.. so it went well.
The next interview was easy. The person was testing basic OOPS skills (polymorphism, method overriding, templates), class design, basic databases and programming. Coding questions were quick sort and binary search. At the end the interviewer threw in buzz questions like what size of int, its range of values and what is 2^8. Both interviewers were very supportive and seemed excited to talk about their projects there.
The next day I got an email for scheduling a third phone interview. That was of moderate difficulty but with a senior person. Got quizzed on my projects, long-term goals and also amazon ec2! Coding questns were max length palindrome and weighted BT traversal. The person tried to negate my complexity analysis... but it was a test! Overall, it went well.. and I got an offer in about a week. The entire process was completed in less than three weeks.
Interview questions [5]
Question 1
Find the maximum subset sum in an array of numbers. Discuss complexity.