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.
Preguntas de entrevista [1]
Pregunta 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.