Software Engineer Internship Interview Questions

23,472 software engineer internship interview questions shared by candidates

Given a binary tree, each node has a null "next node" , which points to the next node in the same level (left to right). Update the given tree so that each node has a value in their "next" field. Level 2/Bonus: do it in O(1) time, using iteration instead of recursion.
avatar

Software Engineer(Internship)

Interviewed at Microsoft

4
Oct 2, 2018

Given a binary tree, each node has a null "next node" , which points to the next node in the same level (left to right). Update the given tree so that each node has a value in their "next" field. Level 2/Bonus: do it in O(1) time, using iteration instead of recursion.

Asked 2 DSA question, 1st word search on leetcode hard difficulty, 2nd was 01 matrix medium difficulty, get deep into code, coded for different scenarios of Optimization as asked, gone through projects got the live demo of them
avatar

Software Engineer(Internship)

Interviewed at Microsoft

4
Aug 27, 2024

Asked 2 DSA question, 1st word search on leetcode hard difficulty, 2nd was 01 matrix medium difficulty, get deep into code, coded for different scenarios of Optimization as asked, gone through projects got the live demo of them

Viewing 3301 - 3310 interview questions

Glassdoor has 23,472 interview questions and reports from Software engineer internship interviews. Prepare for your interview. Get hired. Love your job.