Engineer Interview Questions

842,663 engineer interview questions shared by candidates

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.

probability of the product coming from location A is 0.8 and from location B is 0.6. What is the probability the customers will receive the product from location A or location B SQL - tested on different join , lead , lag, pivoting in sql , sub query, group by having, where, aggregate and think about how you would find outliers)
avatar

Business Intelligence Engineer

Interviewed at Amazon

3.5
Apr 9, 2020

probability of the product coming from location A is 0.8 and from location B is 0.6. What is the probability the customers will receive the product from location A or location B SQL - tested on different join , lead , lag, pivoting in sql , sub query, group by having, where, aggregate and think about how you would find outliers)

Viewing 161 - 170 interview questions

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