I applied through college or university. I interviewed at Microsoft
Interview
Submitted an online application through campus career services and received a response two month later to schedule an on-campus interview. The interview was about an hour long. I was asked about my position preference(software engineer, project management, testing). I was also asked what I am into, what projects I have worked on, and then I was asked a technical question.
Interview questions [1]
Question 1
Given a tree (doesn't have to be a binary tree), create an efficient algorithm to find the common root node of two given nodes.
3 rounds of leetcode medium, 2 questions were very easy, the last one was really hard (it was a binary tree question). They asked about space and time complexity. In terms of structures it was straight forward but the question itself was hard
Behavioural round consisted of "Tell me about yourself and why you wanna work for microsoft and resume screening. And technical interview consisted of 2 LC question 1 medium and 1 easy.
straightforward. directly jumped into data structure and algorithm and then a few fundamental computer science questions especially database management system and operating system then 2 or 3 questions related to resume.