Intern Interview Questions

249,073 intern interview questions shared by candidates

Asked me to introduce my pertinent experiences. After that there was a very easy coding question. Give you an array, find the two numbers that are closest to each other. Return the smallest pair if there are more than one solutions.
avatar

Intern

Interviewed at Microsoft

4
Mar 31, 2015

Asked me to introduce my pertinent experiences. After that there was a very easy coding question. Give you an array, find the two numbers that are closest to each other. Return the smallest pair if there are more than one solutions.

Given a binary tree, where each node has a third reference which is not yet initialized, go through the tree and point the third reference to the rightmost tree node on the same level. If there are no other nodes to its right, point it to null.
avatar

Intern

Interviewed at Microsoft

4
Nov 10, 2014

Given a binary tree, where each node has a third reference which is not yet initialized, go through the tree and point the third reference to the rightmost tree node on the same level. If there are no other nodes to its right, point it to null.

Viewing 821 - 830 interview questions

Glassdoor has 249,073 interview questions and reports from Intern interviews. Prepare for your interview. Get hired. Love your job.