Engineers Interview Questions

842,048 engineers interview questions shared by candidates

-given a binary tree, and a number in each node. Select the nodes that will maximize the overall sum such that if a node is selected its parent and children cannot be selected. Return the sum of the selected nodes. - The buildings in a a city can be represented in 2D by linear array. Given an array that represents the heights of the buildings such that the value in a specific index in the array indicates the height of the building at that location in the city. How much rain will gather in the city if it rains?
avatar

Software Engineer

Interviewed at Altera

3.4
May 6, 2015

-given a binary tree, and a number in each node. Select the nodes that will maximize the overall sum such that if a node is selected its parent and children cannot be selected. Return the sum of the selected nodes. - The buildings in a a city can be represented in 2D by linear array. Given an array that represents the heights of the buildings such that the value in a specific index in the array indicates the height of the building at that location in the city. How much rain will gather in the city if it rains?

This wasn't incredibly difficult, but one guy asked me to design Facebook (at a high level) and another asked me to design Twitter. I thought these were really cool questions because they tested overall design smarts instead of obscure algorithmic stuff.
avatar

Software Engineer

Interviewed at Zocdoc

3.6
Nov 16, 2014

This wasn't incredibly difficult, but one guy asked me to design Facebook (at a high level) and another asked me to design Twitter. I thought these were really cool questions because they tested overall design smarts instead of obscure algorithmic stuff.

There are 100 doors in a row in the hall way. All closed.The first person goes to change status of all doors. The second person goes to change status of every second door(2,4,6,8,...). The third person goes to change the status of every third door(3,6,......). ....There are 100 people doing this in a row. How many door s are closed in the end after all this?
avatar

Quant Engineer

Interviewed at Evernote

4.2
Feb 19, 2015

There are 100 doors in a row in the hall way. All closed.The first person goes to change status of all doors. The second person goes to change status of every second door(2,4,6,8,...). The third person goes to change the status of every third door(3,6,......). ....There are 100 people doing this in a row. How many door s are closed in the end after all this?

Viewing 1461 - 1470 interview questions

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