Razorpay Machine Coding Round [Rejected] [SSE]

razorpay logo
razorpay
Senior Software Engineer2 yearsRejected
June 26, 202592 reads

Summary

I interviewed for a Senior Software Engineer role at Razorpay, which involved a machine coding round focused on designing a search engine system. Despite presenting an optimal solution, I was rejected due to feedback on modularity and extensibility.

Full Experience

I recently interviewed for a Senior Software Engineer position at Razorpay after being referred. The interview took place on June 23rd, 2025, and included a machine coding round. I was tasked with designing a search engine-like system that needed to support adding and removing documents (treated as strings), efficiently returning all documents containing all words in a search query, and enabling document search via tags. I quickly understood the problem and implemented what I believed was the most optimal solution. However, I received feedback stating that my code lacked modularity and extensibility. I had even asked the interviewer for more details on potential future features to incorporate patterns for extensibility, but was told to stick to basic requirements. I also strongly disagree with the feedback regarding validations and edge cases, as we thoroughly tested these during the call, and my code was working fine. Unfortunately, I was rejected for the role.

Interview Questions (1)

Q1
Machine Coding: Search Engine Design
System DesignHard

Design a search engine-like system with the following functionalities:

  • Ability to add and remove documents (consider documents as strings).
  • Efficiently return a list of all documents containing all words in the search query.
  • Documents should be searchable via tags (efficient dataset for storing documents was mentioned).

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!