I interviewed for a Software Engineer Intern position at Microsoft. The first round was an online assessment that tested problem-solving and coding skills. Although I performed decently, I didn’t advance to the next stage.
Interview questions [1]
Question 1
Given an array of positive integers nums and an integer target, return the minimum length of a contiguous subarray whose sum is greater than or equal to target. If no such subarray exists, return 0.
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.
Top companies for "Compensation and Benefits" near you