Engineer Interview Questions

933,580 engineer interview questions shared by candidates

Basic SQL questions. Describe a join to a non-technical person. How do you handle a query that does not perform quickly? They want to know that you can use 'explain plans', which I currently do not use (I'm still entry level). Select all customers who purchased at least two items on two separate days. Given a table with a combination of flight paths, how would you identify unique flights if you don't care which city is the destination or arrival location.
avatar

Business Intelligence Engineer

Interviewed at Amazon

3.5
Mar 25, 2017

Basic SQL questions. Describe a join to a non-technical person. How do you handle a query that does not perform quickly? They want to know that you can use 'explain plans', which I currently do not use (I'm still entry level). Select all customers who purchased at least two items on two separate days. Given a table with a combination of flight paths, how would you identify unique flights if you don't care which city is the destination or arrival location.

Logic question - You are alone on an island with these items; cigarette lighter, cell phone, 2 fuse ropes Known: - each rope is consumed by fire in 60 seconds - you can't assume constant burn rate for any portion of rope, only total time - you can't cut ropes Problem: How to measure 45 seconds
avatar

Sustaining Engineer

Interviewed at NetApp

3.8
Jun 20, 2011

Logic question - You are alone on an island with these items; cigarette lighter, cell phone, 2 fuse ropes Known: - each rope is consumed by fire in 60 seconds - you can't assume constant burn rate for any portion of rope, only total time - you can't cut ropes Problem: How to measure 45 seconds

You are given an n by n array filled with '0's, and you have to set randomly X number of '1's in that array. Looping and generating x random number doesn't work as you might get the same random number (especially as X gets closer to n*n, collisions will become more likely in which case you'll loop for a very long time before filling all the '1's). All positions must have the same probability to get selected, and the array might be huge.
avatar

Software Engineer

Interviewed at Google

4.4
Jan 29, 2015

You are given an n by n array filled with '0's, and you have to set randomly X number of '1's in that array. Looping and generating x random number doesn't work as you might get the same random number (especially as X gets closer to n*n, collisions will become more likely in which case you'll loop for a very long time before filling all the '1's). All positions must have the same probability to get selected, and the array might be huge.

Viewing 171 - 180 interview questions

Glassdoor has 933,580 interview questions and reports from Engineer interviews. Prepare for your interview. Get hired. Love your job.