← Questions

Corporation class: assign teams and managers, check reporting lines

0
MicrosoftCodingLast asked Oct 2026

A coding interview question asked in Microsoft's technical phone screen, last asked Oct 2026. It tests graphs, data structure design and org chart.

Write a Corporation class that records which team each employee is on and who manages each team, and answers whether one person sits above another in the chain of command. The interviewer gives only the class and its three method names…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

graphs · data structure design · org chart

Your code and the AI tutor open when you unlock this question.