razorpay logo
Razorpay· Senior Software Engineer

Razorpay Machine Coding Round [Rejected] [SSE]

Result
Rejected
Experience
2 years
Posted
26 Jun 2025
614 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.

How it went

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.

Questions asked (1)

  1. 01

    Machine Coding: Search Engine Design

    System Design · Hard

    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).

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Razorpay recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

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