Intern Software Engineer Interview Questions

12,223 intern software engineer interview questions shared by candidates

Given the root node of a tree, write two Java programs to visit all nodes of the tree, one in a depth-first fashion and the other in a breadth-first fashion, both without using recursion. Assume a node is represented by a class named Node, which has a method children() that returns a list of child nodes. Call node.visit() to visit a node.
avatar

Software Engineer Intern

Interviewed at Motorola Mobility

4.2
Mar 19, 2009

Given the root node of a tree, write two Java programs to visit all nodes of the tree, one in a depth-first fashion and the other in a breadth-first fashion, both without using recursion. Assume a node is represented by a class named Node, which has a method children() that returns a list of child nodes. Call node.visit() to visit a node.

3 Technical Interviews consisting of standard programming questions, increasing in difficulty. The last interview was almost 2.5 hours on a single problem (Leetcode Hard question about intervals). 2 Behaviour Interviews 1 Screening Phone Call
avatar

Software Developer Intern

Interviewed at Scotiabank

3.8
Oct 18, 2022

3 Technical Interviews consisting of standard programming questions, increasing in difficulty. The last interview was almost 2.5 hours on a single problem (Leetcode Hard question about intervals). 2 Behaviour Interviews 1 Screening Phone Call

Viewing 431 - 440 interview questions

Glassdoor has 12,223 interview questions and reports from Intern software engineer interviews. Prepare for your interview. Get hired. Love your job.