Engineer Ii Interview Questions

9,767 engineer ii interview questions shared by candidates

// 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.
avatar

Software Development Engineer II

Interviewed at Amazon

3.5
Aug 13, 2014

// 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.

Input : an int array [1,0,0,1,1,0,0,1,0,1,0,0,0,1] you have to come up with a program that will give all possible subsets of the array based on the pattern. Pattern restrictions were the string array should start with 1 and end with 1. So there will be many sub arrays like from index 0 to 3 and 0 to 4 and index 7 to 9
avatar

Quality Assurance Engineer II

Interviewed at Amazon

3.5
Jun 10, 2018

Input : an int array [1,0,0,1,1,0,0,1,0,1,0,0,0,1] you have to come up with a program that will give all possible subsets of the array based on the pattern. Pattern restrictions were the string array should start with 1 and end with 1. So there will be many sub arrays like from index 0 to 3 and 0 to 4 and index 7 to 9

Standard Software Development interview questions. Check careercup.com or leetcode.com for lots of examples. Popular interview question: Implement the floodfill (aka paint bucket) function of the Windows Paint program.
avatar

Software Development Engineer II

Interviewed at Amazon

3.5
Jun 7, 2013

Standard Software Development interview questions. Check careercup.com or leetcode.com for lots of examples. Popular interview question: Implement the floodfill (aka paint bucket) function of the Windows Paint program.

2nd round: more behavioural question and ask me to code Prod to calculate the median.?(that the hidden part, they were asking about sorting in the real sense). Due to lack of time, they changed it calculate Avg? Three things you do to keep ur self-updated? What will you gonna do if the manager , there is bug and manager is asking for sign off?
avatar

Quality Assurance Engineer II

Interviewed at Amazon

3.5
Oct 25, 2016

2nd round: more behavioural question and ask me to code Prod to calculate the median.?(that the hidden part, they were asking about sorting in the real sense). Due to lack of time, they changed it calculate Avg? Three things you do to keep ur self-updated? What will you gonna do if the manager , there is bug and manager is asking for sign off?

Viewing 1401 - 1410 interview questions

Glassdoor has 9,767 interview questions and reports from Engineer ii interviews. Prepare for your interview. Get hired. Love your job.