Interview Microsoft SE II Rejected

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-04-02Added By Anonymous
Source: Link

OA on Codility

Round 1->

first Interviewer discussed about my current work which i explained clearly, got two coding questions

I was asked to write the code on codility


Q1. merge two sorted array without extra space

-explained and coded the logic and code was working fine


Q2- find the distance between any two given node in a Binary TREE (GFG HARD)

-created the tree and nodes, was writing the logic , could not complete the code as time up

Round 2->


Q1->Interviewer gave me Wildcard Matching question Leetcode Hard

-I was not sure about the solution hence i asked to move on to the next question


Q-2 find unique element in array of elements , all elements are repeated twice except the unique element

-I explained all possible methods

follow up questions ->what if the array is sorted


i explained binary search logic as well and coded , initially code was compiling but not giving the correct output , but i fixed the code and it was working fine

Interviewer asked me to change the name of variables with appropriate names which i did

Suggestions-> practice more Leetcode Hard Questions, if you ignore Leetcode Hard then somone will get the job


Verdict -Rejected

Comments