Engineer Software Interview Questions

419,835 engineer software interview questions shared by candidates

Given a parking lot of fixed size, made up of a number of rows of spaces, and different vehicle sizes (e.g. car = 1 spot, bike = 1/2 spot, van = 2 spots, bus = 4 spots), develop an algorithm to determine the optimal place to park for any entering vehicle.
avatar

Software Development Engineer I

Interviewed at Amazon

3.5
Jul 22, 2014

Given a parking lot of fixed size, made up of a number of rows of spaces, and different vehicle sizes (e.g. car = 1 spot, bike = 1/2 spot, van = 2 spots, bus = 4 spots), develop an algorithm to determine the optimal place to park for any entering vehicle.

Find the first character in a stream which is not repeated in the rest of the stream. Please note that you are being provided a stream as a source for these characters. The stream is guaranteed to eventually terminate (i.e. return false from a call to the hasNext() method), though it could be very long. You will access this stream through the provided interface methods. A call to hasNext() will return whether the stream contains any more characters to process. A call to getNext() will return the next character to be processed in the stream. It is not possible to restart the stream. Example: Input: aAbBABac Output: b In this example, the character ‘b’ is the first character in the stream which is not repeated in the stream.
avatar

Software Engineer

Interviewed at Amazon

3.5
Apr 2, 2013

Find the first character in a stream which is not repeated in the rest of the stream. Please note that you are being provided a stream as a source for these characters. The stream is guaranteed to eventually terminate (i.e. return false from a call to the hasNext() method), though it could be very long. You will access this stream through the provided interface methods. A call to hasNext() will return whether the stream contains any more characters to process. A call to getNext() will return the next character to be processed in the stream. It is not possible to restart the stream. Example: Input: aAbBABac Output: b In this example, the character ‘b’ is the first character in the stream which is not repeated in the stream.

We have a table named 'Employee' with columns employee_id, employee_name, manager_id, manager_name The table contains the following rows: employee_id employee_name manager_id manager_name 1 Bob 2 Alice 2 Alice 3 Jim Write a SQL query to find Bob's manager's manager.
avatar

Software Engineer

Interviewed at Amazon

3.5
Apr 22, 2013

We have a table named 'Employee' with columns employee_id, employee_name, manager_id, manager_name The table contains the following rows: employee_id employee_name manager_id manager_name 1 Bob 2 Alice 2 Alice 3 Jim Write a SQL query to find Bob's manager's manager.

Viewing 3151 - 3160 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 419,835 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.