Microsoft Interview Experience | L61 | Reject

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

YOE: 3+ years

Education: B.Tech in CS Tier 1


Round1: Coding & basic questions

1.Decode a string recursively encoded as count followed by substring

Input : str[] = "2[a2[b]]"

Output : abbabb

2. What is the difference between process and thread.

3.Difference between isEquals() and '==' in Java?


Round2: Coding & OS related questions

1.Working of a thread in one core machine?
2.Difference and working of Semaphore & mutex?
3.What happens to child thread forked out of parent when the parent thread dies ?
4.Properties of BST and working code of insertion in a BST?
5.Insertion in a Treap Data Structure(was unable to give the answer to this question.)


After the second round received a feedback that I was rejected and they cannot proceed any further.

Comments