Intern Interview Questions

248,921 intern interview questions shared by candidates

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 811 - 820 interview questions

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