Software Engineering Graduate Interview Questions

56,371 software engineering graduate interview questions shared by candidates

There is a museum organized as NxN room. Some rooms are locked and inaccessible. Other rooms are open and some rooms have guards. Guards can only move north, south, east and west, only through open rooms and only within the museum. For each room, find the shortest distance to a guard. What is the time complexity of your algorithm?
avatar

Software Engineering Intern

Interviewed at Google

4.4
May 10, 2010

There is a museum organized as NxN room. Some rooms are locked and inaccessible. Other rooms are open and some rooms have guards. Guards can only move north, south, east and west, only through open rooms and only within the museum. For each room, find the shortest distance to a guard. What is the time complexity of your algorithm?

Given a list of points in the 2D xy plane, determine how many of those points can maximally exist on a line (not necessarily through the origin). So find the line that contains the most points, and return how many points are on that line.
avatar

Software Engineering Summer Internship

Interviewed at Bloomberg

4
Feb 4, 2015

Given a list of points in the 2D xy plane, determine how many of those points can maximally exist on a line (not necessarily through the origin). So find the line that contains the most points, and return how many points are on that line.

There is a critical deliverable that requires a key resource to work overtime and on weekends to deliver. He however does not want to stretch beyond office hours to meet the client expectations, despite being compensated handsomely for the extra effort. How will you handle this situation?
avatar

Head - Software Engineering

Interviewed at Thoughtworks

3.1
Nov 15, 2011

There is a critical deliverable that requires a key resource to work overtime and on weekends to deliver. He however does not want to stretch beyond office hours to meet the client expectations, despite being compensated handsomely for the extra effort. How will you handle this situation?

Viewing 241 - 250 interview questions

Glassdoor has 56,371 interview questions and reports from Software engineering graduate interviews. Prepare for your interview. Get hired. Love your job.