Razorpay : Product development Engineer - Interview.
Question Details
Machine Round
Coding Razorpay (2-year Experience)I got a call from the Razorpay hiring team, regarding an opportunity they have for me, I applied for the opportunity via ...
Full Details
Machine Round
Coding Razorpay (2-year Experience) I got a call from the Razorpay hiring team, regarding an opportunity they have for me, I applied for the opportunity via LinkedIn opening, a few days after the application. The hiring person scheduled the machine round coding on the given day for 1.30 min on a Google Meet. Here the interview starts now: The interviewer was very humble and helpful. He introduced himself and asked me about the machine round and also explained the way the interview would be taken. He shared a Google doc, where the question was written, and he asked me to read the question. After carefully reading the question I asked a few questions related to the condition and question. Then I have been asked to discuss the solution on the doc and then I can go for the favorite ID to code. I did a bit of engineering in the solution which led to the code. He helped me there by repeating the few point questions which helped me to get out of it. It took me more time than expected to solve. Post-coding I explained the code and functions, then he asked me some of the cases and I explained to him how these cases are covered. The interview got finished and he asked if I had any questions for him. I asked him some relevant questions regarding the company and technology. In the end, he asked me to send the code via mail which I did in front of him. Question : Design a parking for SUV and Hatchback Car with some conditions and requirements . Please refer to this link for a full description of the question. Pattern Solving : Hybrid Design Pattern ( Factory and Singleton ) My suggestions: 1. Before solving the question, think about the requirements clearly and ask more questions to clear the requirements. 2. While solving the question do not jump into a selected solution pattern or do not jump directly on a particular thought idea. Think about the small small function which has been asked in question. 3. by dividing the requirement into small pieces of requirement you'll be able to think of the right solution. 4. Most important-> Please fix your device and require equipment or user perfectly working device, having enough charging and better internet connection during interviews. I faced the issue of getting my laptop discharging fast and while plugging the charger it was getting stuck or hang during this interview. 5. Very very much important-> Even if you have prepared enough and working hard on this, don’t expect that interview will very smooth, sometimes luck matters and don’t lose the hope, be ready each kind of changes and use you knowledge, presence of mind and don’t be nervous: Interviewer is there to help you if you engage him/her. Thanks, wish you best of luck.
About This Question
This is a reported interview question from a razorpay interview for a swe role during the system design round reported in 2025.
It covers the following topics: Oop .
Difficulty rating: Hard
Topics
More Razorpay Interview Questions
About Razorpay Interview Reports
This question was reported by a candidate who interviewed at Razorpay. LeakCode aggregates interview reports from 10+ sources, including 1Point3Acres, Glassdoor, LeetCode Discuss, Blind, Reddit, Indeed, and Nowcoder. Each report is translated where necessary, deduplicated against existing entries, and tagged by company, role, round type, and reporting date.
Use this question as one calibration data point, not a memorization target. Companies typically rotate their question pools every 2-4 months; the exact wording of a 2024 question may differ from what you encounter today. The underlying pattern, difficulty level, and follow-up depth at Razorpay are the higher-signal extractions to take from this report.
For broader preparation context, the Razorpay interview process typically includes a recruiter screen, one or two technical phone screens, and a 4-5 round on-site loop covering coding, system design (at L4+ levels), and behavioral. Reports tagged on LeakCode show the round-by-round distribution and typical difficulty calibration. To browse questions filtered by round type and seniority, use the company hub linked above.
How To Practice This Type of Question
Solve similar problems on LeetCode under timed conditions (25-35 minutes per medium difficulty). The goal is pattern recognition: recognize the underlying technique (sliding window, two-pointer, BFS, memoized recursion, etc.) within 60-90 seconds of reading. Strong candidates verbalize their hypothesis out loud before coding, then iterate based on feedback. Weak candidates dive into implementation immediately, lose time on the wrong approach, and run out of time for follow-ups.
Companies update their question pools every 2-4 months. The exact wording of any given question may have been retired by the time you interview. Focus your prep on the pattern, not the specific problem. The patterns that appear in Razorpay reports consistently are the ones worth investing in; one-off niche problems are not.
During Your Razorpay Round
Apply the standard interview round template: clarify requirements (2-3 minutes), state your approach out loud and confirm direction with the interviewer (3-5 minutes), code with narration (15-25 minutes), test with concrete examples including edge cases (5 minutes), discuss optimization or trade-offs if time permits (5 minutes). This template is universally accepted across FAANG and adjacent companies; deviating from it produces weaker interviewer feedback signal.
The single most predictive failure mode in Razorpay reports tagged "no hire": not asking clarifying questions. Interviewers are explicitly trained to weight this. Strong candidates ask 3-5 clarifying questions even on problems that look obvious; weak candidates dive into code immediately. The clarifying-question check is often the first signal recorded in the interviewer's written notes.