Software Engineer New Grad Interview Questions

3,069 software engineer new grad interview questions shared by candidates

Given a BST, implement a Sibling member variable and initialize them: struct Node { int data; Node* left; Node* right; Node* sibling; }; Such that all Nodes at the same depth point to the one to the right: 5 / \ 3 -> 7 / \ / \ 1 -> 4 -> 6 -> 9
avatar

2018 Software Engineer (Grad)

Interviewed at Bloomberg

4
Mar 7, 2018

Given a BST, implement a Sibling member variable and initialize them: struct Node { int data; Node* left; Node* right; Node* sibling; }; Such that all Nodes at the same depth point to the one to the right: 5 / \ 3 -> 7 / \ / \ 1 -> 4 -> 6 -> 9

Viewing 401 - 410 interview questions

Glassdoor has 3,069 interview questions and reports from Software engineer new grad interviews. Prepare for your interview. Get hired. Love your job.