Software Engineer Ii Interview Questions

3,998 software engineer ii interview questions shared by candidates

Question from interviewer: Find path from Knight to friend in a matrix filled with land and water. My answer: Using bruteforce explored all the possible paths. Interviewer is not happy with the approach. I have optimized the solution by exploring the shortest paths, interviewer did not understand the optimization even after explaining. He didn't understand the distance calculation, I have used the Manhattan distance formula which is very popular in AI community. My solution may not be the better but it always gives the right answer even if it takes more time. The optimization I have proposed helps in reducing the time only, doesn't deviate the final output. The interviewer is looking for the probability of the right answer, which I couldn't convince him. Overall: Rude, arrogant, confused.
avatar

Software Engineer II SDE2

Interviewed at Amazon

3.5
Feb 27, 2021

Question from interviewer: Find path from Knight to friend in a matrix filled with land and water. My answer: Using bruteforce explored all the possible paths. Interviewer is not happy with the approach. I have optimized the solution by exploring the shortest paths, interviewer did not understand the optimization even after explaining. He didn't understand the distance calculation, I have used the Manhattan distance formula which is very popular in AI community. My solution may not be the better but it always gives the right answer even if it takes more time. The optimization I have proposed helps in reducing the time only, doesn't deviate the final output. The interviewer is looking for the probability of the right answer, which I couldn't convince him. Overall: Rude, arrogant, confused.

Amazon truck has to deliver packages to people. Based on schedule ([StartTime:EndTime]): [[0,30],[5,10],[15:20]), find out if the truck will be able to make all appointments. (Basically find intersections within the lists).
avatar

Software Engineer II

Interviewed at Amazon

3.5
Jun 14, 2022

Amazon truck has to deliver packages to people. Based on schedule ([StartTime:EndTime]): [[0,30],[5,10],[15:20]), find out if the truck will be able to make all appointments. (Basically find intersections within the lists).

Viewing 1821 - 1830 interview questions

Glassdoor has 3,998 interview questions and reports from Software engineer ii interviews. Prepare for your interview. Get hired. Love your job.