Software Engineers Interview Questions

419,571 software engineers interview questions shared by candidates

First phone screen: Print all the nodes of a tree in reverse level order (ie print all the nodes at the leaves first, then print the nodes on the level above the leaves, and then eventually work your way to the top).
avatar

Software Engineer III

Interviewed at Amazon

3.5
May 25, 2010

First phone screen: Print all the nodes of a tree in reverse level order (ie print all the nodes at the leaves first, then print the nodes on the level above the leaves, and then eventually work your way to the top).

Given 2 files, each line in the files is considered an entry. Print the entries that are duplicated in both files such that the number of repeated entries are minumal. Example: File 1: aaa aaa bbb bbb bbb ccc File 2: aaa aaa aaa bbb bbb result: aaa aaa bbb bbb
avatar

Software Engineer

Interviewed at Amazon

3.5
Jun 7, 2011

Given 2 files, each line in the files is considered an entry. Print the entries that are duplicated in both files such that the number of repeated entries are minumal. Example: File 1: aaa aaa bbb bbb bbb ccc File 2: aaa aaa aaa bbb bbb result: aaa aaa bbb bbb

Write a function, which takes input, two sets of integers, and moves a integer from one set to another set in a way that average of both sets increases. It returns true if it successfully moved a element, false otherwise.
avatar

Software Development Engineer

Interviewed at Amazon

3.5
May 9, 2016

Write a function, which takes input, two sets of integers, and moves a integer from one set to another set in a way that average of both sets increases. It returns true if it successfully moved a element, false otherwise.

Viewing 1961 - 1970 interview questions

Glassdoor has 419,571 interview questions and reports from Software engineers interviews. Prepare for your interview. Get hired. Love your job.