The selection process of last round was very harsh, I got rejected for a single mistake.
It was a waste of time because I really hoped to receive an offer letter.
Round-1
Qns- 1.Merge 2 linked lists without using extra space 2.Zig zag level order traversal of a binary tree
Round-2
Qns- 1.A rain drop is falling on slant lines one after the other, find the coordinate where the drop will land in the end
I felt that the question was very abstract and open ended, and you would need to use a mathematical formula to solve it, which was not given. So I felt that instead of evaluating my logic they are evaluating my maths knowledge. It was pretty difficult to code and I couldn’t complete it.
2.How will you ensure that the Kafka events are processed in a sequential order even if they come out-of-sequence
I assumed that the related events will have the same key and a version number field representing the sequence. As the key is same for related events, they will fall in the same partition and they will be received by the same consumer instance. And in the consumer we can maintain an array corresponding to each event key and put the related events in the indexes corresponding to their version number. And after collecting all the versions we can finally process them in sequential order. But the interviewer did not understand anything and kept asking me how would I prevent the related events from going to different consumer instances.
3.Create in-memory cache using hashmap
The interviewer finally accepted some answer
Round-3 (This round was taken because my Round-2 performance was not up to the mark as per the interviewer)
Qns-
Round-4 (Last round-LLD)
Qns- 1.How would you make an offer apply only once per user and if a user tries to apply it simultaneously from multiple devices only 1 of the devices should be allowed- Related to thread synchronisation.
I was able to answer it correctly and the interviewer seemed satisfied after asking some follow up questions.
2.Write code for api rate limiter and make the code thread safe-
I wrote the correct logic by using sliding window algorithm but I didn’t notice that 1 resource was still not thread safe. The interviewer asked me to check the code again but that resource was in my blindspot and I told him that everything looks good. My code was doing 90% of the things correctly and I was hoping to get an offer, but at last I got rejected. I felt that the interviewer could have pointed me in the right direction by telling a scenario in which the code could fail, but he didn’t.
My experience- The selection process of this round was very harsh, just a single mistake and you are rejected.
The following metrics were computed from 20 interview experiences for the MakeMyTrip Senior Software Engineer role in Bengaluru, India.
MakeMyTrip's interview process for their Senior Software Engineer roles in Bengaluru, India is very selective, failing most engineers who go through it.
Candidates reported having very negative feelings for MakeMyTrip's Senior Software Engineer interview process in Bengaluru, India.