Software Engineer Developer Interview Questions

466,887 software engineer developer 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.

One of Mr. Bajaj, his wife, their son and Mr. Bajaj's mother is an Engineer and another is a Doctor. If the Doctor is a male, then the Engineer is a male. If the Engineer is younger than the Doctor, then the Engineer and the Doctor are not blood relatives. If the Engineer is a female, then she and the Doctor are blood relatives. Can you tell who is the Doctor and the Engineer
avatar

Software Developer

Interviewed at Zoho

4.2
Aug 11, 2017

One of Mr. Bajaj, his wife, their son and Mr. Bajaj's mother is an Engineer and another is a Doctor. If the Doctor is a male, then the Engineer is a male. If the Engineer is younger than the Doctor, then the Engineer and the Doctor are not blood relatives. If the Engineer is a female, then she and the Doctor are blood relatives. Can you tell who is the Doctor and the Engineer

Viewing 951 - 960 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 466,887 interview questions and reports from Software engineer developer interviews. Prepare for your interview. Get hired. Love your job.