Software Engineer Interview Questions

467,290 software engineer 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

Viewing 1941 - 1950 interview questions

Glassdoor has 467,290 interview questions and reports from Software engineer interviews. Prepare for your interview. Get hired. Love your job.