Mastering Microsoft’s SDE 2 Interview: Tackling the Tree Distance Sum Challenge

Microsoft | Software Engineer | Interview Experience

Interview Date: Not specified
Result: Not specified
Difficulty: Not specified

Interview Process

I had a video interview with Microsoft for the MAIDAP SDE 2 position. The interview was quite straightforward but challenging. The interviewer started with some behavioral questions to understand my background and experience, asking about my contributions to previous projects and how I handle team conflicts. After the behavioral section, I was given a coding challenge to solve during the live session.

Technical Questions

  1. Tree Distance Sum Problem (Tree, DFS)

Tips & Insights

I spent around 20 minutes coding while sharing my thought process with the interviewer. They provided hints when I got stuck, which was helpful. In the end, I think I did well on the coding part, but I’m unsure about how I presented my past experiences.