Software Engineer Intern Interview Questions

9,772 software engineer intern interview questions shared by candidates

There was not a really difficult question. The first question was based on design classes. And the second one was on checking whether a binary tree is a binary search tree. One question per round. I screwed up the second question.. so did not get the offer.
avatar

Intern - Software Developer

Interviewed at Amazon

3.5
Sep 15, 2013

There was not a really difficult question. The first question was based on design classes. And the second one was on checking whether a binary tree is a binary search tree. One question per round. I screwed up the second question.. so did not get the offer.

The questions were something on the lines of, - Given a tree, output levelwise nodes (Ans: It was actually the BFS algorithm, but I didn't realize it at that time) - Find first unique substring (In O(n)) (Ans: Use counting sort variant) - Convert an array into balanced binary search tree (Ans: First sort the array, then use recursive algorithm after splitting the array at mid, and using the mid as a node) - From two arrays N and M find the combinations that add up to say X (Ans: I was drained by the time second interview started, so the only answer I came up with was of O(n2) complexity i.e. using two FOR loops)
avatar

Software Developer Intern

Interviewed at Amazon

3.5
Feb 23, 2014

The questions were something on the lines of, - Given a tree, output levelwise nodes (Ans: It was actually the BFS algorithm, but I didn't realize it at that time) - Find first unique substring (In O(n)) (Ans: Use counting sort variant) - Convert an array into balanced binary search tree (Ans: First sort the array, then use recursive algorithm after splitting the array at mid, and using the mid as a node) - From two arrays N and M find the combinations that add up to say X (Ans: I was drained by the time second interview started, so the only answer I came up with was of O(n2) complexity i.e. using two FOR loops)

You are given the putChar(int) function in C (accepts ASCII code, prints on the screen the character). Write a function putInt(int) that accepts an int and prints on the screen the same int by only using the putChar(int) function.
avatar

Software Engineer Intern

Interviewed at Amazon

3.5
Mar 15, 2014

You are given the putChar(int) function in C (accepts ASCII code, prints on the screen the character). Write a function putInt(int) that accepts an int and prints on the screen the same int by only using the putChar(int) function.

Viewing 2531 - 2540 interview questions

Glassdoor has 9,772 interview questions and reports from Software engineer intern interviews. Prepare for your interview. Get hired. Love your job.