I applied online. The process took 6 days. I interviewed at Amazon in Jun 2014
Interview
1 behavior question
2 write code to get biggest number in a array
3 describe the time complexity of a problem, I said nlogk, but they said that is not the best, best is n
4 how to compare two huge file in two different locations
Interview questions [1]
Question 1
how to compare two huge file in two different locations
Two phone screens. Cleared first one. Didn't move forward after second phone screen. First phone screen was just pure coding excersice. Second phone scree started with talking about resume, current projects, why change blah..blah. Then there were three coding exercises which were quite simple. After that I was thrown a random design question, on which I spent quite a bit of time and as it was open ended, there was no clear answer. Didn't move forward for onsite after second phone screen.
Interview questions [1]
Question 1
// You are on a team that is creating a program to model stress on furniture.
// Your task is to model the behavior of furniture under abuse such as
// excessive weight or application of fire. There exists a prototype that
// defines the following:
class Furniture {
/**
* Furniture becomes unusable if enough weight is applied; the
* algorithm depends on shape of furniture, the strength of material, and
* the location where the weight is applied
*/
void applyWeight(double x, double y, double weight, double seconds);
/**
* Furniture becomes unusable if it is made of wood, and fire is applied
* long enough; wood will change from brown to black if it is burnt
* (whether or not the furniture becomes unusable)
*/
void applyFire(double x, double y, double fireStrength, double seconds);
/**
* possible values: Gray, Brown, Black, etc
*/
Color getColor();
/**
* possible values: OK, UNUSABLE
*/
FurnitureState getState();
}
class WoodChair extends Furniture {...}
class SteelChair extends Furniture {...}
class WoodTable extends Furniture {...}
class SteelTable extends Furniture {...}
class RubbrCouch
// We will need to start adding other furniture like couches, beds, bookcases, and desks, and also new materials such as plastic, cloth, rubber, etc. Try to improve the class design - you are free to modify it however you wish since it is only a prototype.
I applied online. The process took 2 weeks. I interviewed at Amazon (Seattle, WA) in May 2014
Interview
Applied online. Received an online questionnaire with 3 questions. Two questions were code questions and third was on design.
Answered all the questions in around 90 mins but still got called for the onsite interview. There was a telephonic round for behavioral questions prior to onsite interviews.
Company paid for 3 days hotel accommodation and all travel expenses.
There were 4 one to one rounds.
Results were communicated after after 2 days.
Top companies for "Compensation and Benefits" near you