I was referred to SDE-1 position. HR contacted me and provided me with Online Assesment link.
Online Assesment ( Hackerrank | Round 1 ):
3 questions were asked. 2 of medium and 1 of hard difficulty. HR mentioned that 58% would be the passing criteria.
After 1.5 week, HR scheduled machine coding round for today.
Machine Coding Round ( 1hr 30mins ):
Interviewer described the problem statement and left, saying they will join before 20 mins of end time.
Question: design inventory management system for e-commerce. These were the 4 requirements:
Question was quite straightforward, but there was a small twist. When createOrder is called, the inventory with the required products should be blocked until that order is confirmed. I was unable to properly understand the question, however after discussing the basic approach I straight ahead went for implementation. I was just able to complete implementation when the interviewer was back. I implemented such that on createOrder, the products quantity would be directly reduced from inventory, also created a cancelOrder function. I explained that we can have some scheduler which cancels order after some time has passed in order to free the product count in inventory. However interviewer needed a different approach. I then come up with the solution of having 2 counts in product. Interviwer was satisfied with the approach but as the time was just about over, was not allowed to modify or even run testcases. Interviewer gave feedback that she was happy with LLD approach, but I lacked proper time management.
Verdict: Most likely rejected as the HR is not picking up call anymore :*)
Suggestion while appearing in Meesho machine coding: go through all the previously asked LLD questions, almost everytime same questions are asked, so you can practice them and also solve for concurrency.