Software Engineer 2 Interview Questions

665,112 software engineer 2 interview questions shared by candidates

Was asked a very interesting tree problem.Given a tree and a number N, construct another tree such that each node of the tree has either 0 or N elements,except for one node which has between 0 to N elements.Only other constraint is that ancestry is preserved in the new tree.
avatar

Software Engineer

Interviewed at Groupon

2.9
May 26, 2015

Was asked a very interesting tree problem.Given a tree and a number N, construct another tree such that each node of the tree has either 0 or N elements,except for one node which has between 0 to N elements.Only other constraint is that ancestry is preserved in the new tree.

Asked to write a method were it's passed an array of numbers and a single number. I needed to return true if there was two numbers in the array that if added totaled the single number. I was then asked to rewrite it to make it run faster.
avatar

Senior Software Engineer

Interviewed at Amazon

3.5
Mar 4, 2014

Asked to write a method were it's passed an array of numbers and a single number. I needed to return true if there was two numbers in the array that if added totaled the single number. I was then asked to rewrite it to make it run faster.

Viewing 841 - 850 interview questions

Glassdoor has 665,112 interview questions and reports from Software engineer 2 interviews. Prepare for your interview. Get hired. Love your job.