Premium Employer

i

This company page is being actively managed by Razorpay Team. If you also belong to the team, you can get access from here

Razorpay Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Razorpay Software Engineer Interview Questions and Answers

Updated 10 Jan 2025

5 Interview questions

A Software Engineer was asked 12mo ago
Q. Design a chat-based application like WhatsApp with only user-to-user chat feature (no group chats). Explain and draw out the E2E design by mentioning all the components and design decisions taken in the pro...
Ans. 

Design a user-to-user chat application similar to WhatsApp focusing on scalability, security, and real-time messaging.

  • Use a client-server architecture with mobile and web clients communicating with a central server.

  • Implement WebSocket for real-time communication to ensure instant message delivery.

  • Utilize a NoSQL database like MongoDB for storing user profiles and chat history.

  • Incorporate user authentication using ...

A Software Engineer was asked 12mo ago
Q. Design a social media application with users, posts, comments, likes, etc. There is also an admin who needs to approve post creation and can delete any post they want. Create appropriate classes and a Drive...
Ans. 

Design a social media app with users, posts, comments, likes, and admin functionalities.

  • Class User: Represents a user with attributes like userId, username, and methods to create posts and comments.

  • Class Post: Represents a post with attributes like postId, content, userId, and methods for liking and commenting.

  • Class Comment: Represents a comment with attributes like commentId, content, userId, and methods to like ...

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Four people need to cross a bridge at night with only one torch t ... read more
asked in Capgemini
Q2. In a dark room, there is a box of 18 white and 5 black gloves. Yo ... read more
Q3. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q4. Puzzle : 100 people are standing in a circle .each one is allowed ... read more
asked in TCS
Q5. Find the Duplicate Number Problem Statement Given an integer arra ... read more
A Software Engineer was asked
Q. What are the basic concepts of OOPS?
Ans. 

Object-Oriented Programming (OOP) is a programming paradigm based on objects and classes, promoting code reusability and organization.

  • Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).

  • Inheritance: Mechanism to create a new class using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).

  • Polymorphism: Ability to present t...

A Software Engineer was asked 11mo ago
Q. Design Rating Review System
Ans. 

Design a system to rate and review products or services.

  • Allow users to rate products on a scale of 1-5 stars.

  • Include written reviews for users to provide more detailed feedback.

  • Implement a system to filter and display reviews based on relevance or helpfulness.

  • Consider incorporating user profiles and past review history to personalize recommendations.

A Software Engineer was asked
Q. System Design : Design in memory Database
Ans. 

Designing an in-memory database involves optimizing data storage and retrieval for fast performance.

  • Use data structures like hash tables or B-trees for efficient indexing and searching

  • Implement caching mechanisms to reduce disk I/O and improve read/write speeds

  • Consider data durability and consistency mechanisms to prevent data loss in case of system failures

What are the roles & responsibilities of a Software Engineer at Razorpay?

Development & Implementation

  • Work with the development team to deliver planned features
  • Understand end-user requirements to develop scalable solutions

Read full roles & responsibilities

Razorpay Software Engineer Interview Experiences

6 interviews found

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. LLD/Machine coding - Design a social media application with users, posts, comments, likes, etc. There is also an admin who needs to approve post creation and can delete any post they want. Create appropria...
  • Ans. 

    Design a social media app with users, posts, comments, likes, and admin functionalities.

    • Class User: Represents a user with attributes like userId, username, and methods to create posts and comments.

    • Class Post: Represents a post with attributes like postId, content, userId, and methods for liking and commenting.

    • Class Comment: Represents a comment with attributes like commentId, content, userId, and methods to like comme...

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. High-level design - Design a chat-based application like WhatsApp with only user-to-user chat feature (no group chats). Explain and draw out the E2E design by mentioning all the components and design decis...
  • Ans. 

    Design a user-to-user chat application similar to WhatsApp focusing on scalability, security, and real-time messaging.

    • Use a client-server architecture with mobile and web clients communicating with a central server.

    • Implement WebSocket for real-time communication to ensure instant message delivery.

    • Utilize a NoSQL database like MongoDB for storing user profiles and chat history.

    • Incorporate user authentication using JWT (...

  • Answered by AI
Round 3 - One-on-one 

(1 Question)

  • Q1. Hiring Manager - basic questions like why Razorpay, what are your career goals, what does career growth look like for you, etc.

Razorpay HR Interview Questions

39 questions and answers

Q. How will you manage the team and ensure the completion of work when collabo ... read more
Q. Why do you think you are a good fit for the role?
Q. Why do you want to join this company?
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - HR 

(2 Questions)

  • Q1. Design Rating Review System
  • Ans. 

    Design a system to rate and review products or services.

    • Allow users to rate products on a scale of 1-5 stars.

    • Include written reviews for users to provide more detailed feedback.

    • Implement a system to filter and display reviews based on relevance or helpfulness.

    • Consider incorporating user profiles and past review history to personalize recommendations.

  • Answered by AI
  • Q2. General Engineering questions, system design concepts

Skills evaluated in this interview

Are these interview questions helpful?
Interview experience
3
Average
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Coding Test 

I was asked to perform the low-level design of a microservice.

Software Engineer Interview Questions & Answers

user image Janet Dominic

posted on 26 Jul 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - HR 

(2 Questions)

  • Q1. Tell me about yourself
  • Q2. Past work expert
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Basic DS Question, Medium level difficulty , followed with some puzzles

Round 3 - One-on-one 

(1 Question)

  • Q1. System Design : Design in memory Database
  • Ans. 

    Designing an in-memory database involves optimizing data storage and retrieval for fast performance.

    • Use data structures like hash tables or B-trees for efficient indexing and searching

    • Implement caching mechanisms to reduce disk I/O and improve read/write speeds

    • Consider data durability and consistency mechanisms to prevent data loss in case of system failures

  • Answered by AI
Round 4 - One-on-one 

(1 Question)

  • Q1. Discussion with Manager, on projects/work experience and questions around challenges, more on resume /work experience

Interview Preparation Tips

Interview preparation tips for other job seekers - Resume screening, so keep that update and clean
1st Round DS Question are usually very easy/medium level, can be easily passed.

Don't write in resume which u haven't work on /have no idea abut. cause last round will have a lot of discussion on yopur past projects/experience

Skills evaluated in this interview

I applied via Company Website and was interviewed in Jan 2021. There were 5 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Basics of Data structures
  • Q2. Basics on oops
  • Ans. 

    Object-Oriented Programming (OOP) is a programming paradigm based on objects and classes, promoting code reusability and organization.

    • Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).

    • Inheritance: Mechanism to create a new class using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).

    • Polymorphism: Ability to present the sa...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well on Data Structures and oops concept in depth

What people are saying about Razorpay

View All
faithfuldhokla
1d
works at
Scoopwhoop Media
Is my sister being sidelined at work in Mumbai because of her skin tone?☹️
My sister, Riya, moved to Mumbai three months ago after getting transferred to Razorpay’s head office with her college friend. They’d worked together in their home city for a year, but since the move, her manager gives her friend far more attention sharing project details, involving her in key assignments while rarely doing the same for Riya. Back home, she often helped her friend with work, but she’s stopped now. Her friend’s attitude has become entitled, and a colleague mentioned that colorism especially a preference for fair skin is still common in some Mumbai offices, particularly among Gujarati and Marwari circles. Her friend is fair-skinned; Riya has a dusky complexion she’s always loved, but now wonders if it’s holding her back. She’s feeling overlooked, demoralized, and questioning her move. For context, her manager is a 34-year-old married Gujarati man born and raised in Mumbai.
Got a question about Razorpay?
Ask anonymously on communities.

Interview questions from similar companies

Software Engineer Interview Questions & Answers

Visa user image Pranali Yawalkar

posted on 14 Dec 2015

Interview Questionnaire 

7 Questions

  • Q1. Discussion on my internships and course projects.
  • Q2. My field of interest, how well have I fared in it.
  • Q3. Design a mvc controller system where given a url, I am able to invoke the right controller. Eg, given "xyz.com/a/b/c", I should be able to invoke c controller by going through a and b
  • Ans. 

    Design an MVC controller system to route URLs to the appropriate controllers based on the URL structure.

    • Define a routing mechanism that maps URLs to controller actions.

    • Use a hierarchical structure where each segment of the URL corresponds to a controller.

    • Example: For 'xyz.com/a/b/c', 'a' routes to 'AController', 'b' to 'BController', and 'c' to 'CController'.

    • Implement a method to parse the URL and invoke the correspond...

  • Answered by AI
  • Q4. Design autocomplete in IDEs
  • Ans. 

    Autocomplete in IDEs helps developers write code faster by suggesting code snippets and completing code as they type.

    • Autocomplete should suggest code snippets based on the context of the code being written

    • Autocomplete should prioritize suggestions based on frequency of use

    • Autocomplete should also suggest variable and function names

    • Autocomplete should be customizable to allow for user-defined snippets and suggestions

    • Exa...

  • Answered by AI
  • Q5. What is my weakness
  • Ans. 

    My weakness is public speaking.

    • I tend to get nervous when speaking in front of large groups.

    • I am working on improving my public speaking skills by practicing and seeking feedback.

    • I have taken courses and attended workshops to help me overcome my fear of public speaking.

  • Answered by AI
  • Q6. Given 2 game scenarios for basketball, and given p as the probability of making a basket in an attempt, I have to understand the condition where game1 would be preferable over game2. In first game, I have ...
  • Ans. 

    Comparing 2 basketball game scenarios with different number of trials and baskets required to win

    • Calculate the probability of winning in each game scenario using binomial distribution formula

    • Compare the probabilities to determine which game scenario is preferable

    • In game1, the probability of winning is p. In game2, the probability of winning is the sum of probabilities of making 2 or 3 baskets

    • If p is high, game1 is pref...

  • Answered by AI
  • Q7. Given a dictionary of words, I have to go from one word to another in least number of transitions where a transition is a defined as changing any letter of the current word such that the new word is also i...

Interview Preparation Tips

Round: Test
Experience: The test was on hackerrank.
Tips: * Fast coding and problem solving required
* Time crunch
* The test is valued a LOT in the hiring process
Duration: 120 minutes
Total Questions: 4

Round: Technical Interview
Experience: Question 1 : He tried to take the discussion to web based technologies to which I straightly told I don’t know. Not sure if that was a good decision. Nevertheless, he went over my resume a lot of times and asked about various projects.
Question 2 : Discussed the various projects related to it.
Question 3 : He asked this question because I had worked on django during my FB internship. I proposed a tree based structure. xyz.com/a/b/c ---> b is child of a, c is child of b.

Question 4 : Next he moved to a very interesting question. Given a simple text editor, I want to facilitate autocomplete feature. We discussed about syntactic methods using language specific keywords. I suggested a trie based implementation which he liked. Later he asked me to improve and redirected me to using scope of the variables, and grammar of the language. We discussed about all the steps I did in language translators lab (macrojava -> minijava -> typechecking -> miniIR -> microIR -> miniRA ->Mips) where we built a Java compiler in Java. We later hopped back to original question and I suggested that we can use grammar to to store multiple (nested kind of) tries for different scope. He asked me how would I define “scope”. He gave me a scenario which helped me come up with the nested trie structure
int a;
{
int b;
{
int c; //a b c can be used
}
{
int d; //a b d can be used
}
}
He then asked me details of how I would code. I said we could use the respective visitors and maintain the current trie root for scope. He liked it but I missed at 2 places :
1. He asked me about token generation used in a compiler and I said flex and bison. I was expected to elaborate a bit.
2. He asked me how the grammar is generated and how the visitors are invoked. I couldn’t explain properly because I was not thorough with it.
Tips: * Keep smiling in the interviews.
* My interviewer had hopped from Microsoft to Visa. We had a short detailed discussion on how the transition was and what drove him to do that.
* It’s always good to know about the company to pick up interesting discussions, read up latest articles and news
* The interviewers want to see if you are passionate about what they are building. Their PPT (Pre Placement Talk) was also focussed majorly on the technologies they are building.
* If you take a question in a direction, make sure you are very very thorough with it. I took it in the direction of compilers, but couldn't make the transition seamlessly because I wasn't thorough with a lot of things (like token generation, visitor invocation).
* Not sure if telling upfront that you don't know about web technologies when you are applying for a profile that might need it is a good idea or not.


Round: Technical Interview
Experience: I think he was a senior person and spoke very passionately about the work that is happening in visa Bangalore office.

Question 1 : I said maybe I should have learnt a little about web based technologies. I think he was looking for a more generic answer.
Question 2 : I went ahead with calculating the expected score where my score random variable = 1 with probability p, and 0 with probability (1-p). I conditioned that expected score of game1 > game2 which would give me the range of p. I goofed up the equations twice but he said he liked my approach and I was just there

Question 3 : I suggested building a graph where a node is a word and an edge means a transition, and then performing BFS. He said that was obvious and that he was more interested in knowing how I build the graph. I suggested a method to reduce the number of string comparisons by storing a count vector with each word. Count vector is a 26 length vector where count[i] = number of times that letter occurs in the word. I would do string comparison to identify neighbours only if the difference in count vectors in 2. Eg, cot = cat - a + o. String comparison is still needed because of false positives. Eg, oct = cat - a + o but cat -> oct is not a valid transition. He liked my approach and asked me to code, discussed the complexity.
Tips: * Don't be naive around a senior engineer. Be confident.
* Explain your approach before going ahead solving it. I missed that in Q1 and for a long time he didn't know what I was heading towards.
* Write clean code, practice coding on paper to make sure you write compilable code. Shabby code is a turn off.
* Show passion for the company you are applying for.

General Tips: * Be friendly and keep smiling.
* Know about the company, well in detail. Recent news, articles, acquisitions, organisational changes, new offices, new product, etc.
* Know about the volume the company handles, certain mind boggling figures, what the company *does not* do
* If you are introducing yourself as an expert in a certain field, be prepared for questions like "How will you contribute to our company with your expertise" type of questions.
* Be very very thorough with every single thing you write on your resume. A small point you weren't sure about might become the basis of your whole interview. Don't write things you are unsure of, or have worked very little on.
Skill Tips: * I think I didn’t take Visa very seriously. I was assuming they won’t take a undergrad and they won’t take me because I have 0 knowledge in web based technologies. I might have acted a little cocky.
* They had nice pie diagrams which shows that they had done thorough research about each and every candidate based on resume and the coding test.
* They value the coding test a lot.
* Be very thorough with the projects you write on resume. They will give you a problem which won't be straightforward and will map onto one of your course projects. You are expected to do the mapping seamlessly. Every bit of the discussion you have with the interviewer can be your next problem.
* Brush up on web based technologies if you can.
* There will be a HR round as well if you clear the technical interviews.

Skills: Maths(esp Probability), Design, Passion, Web Technologies, Technical Skill And Speaking Skill, Coding Skills
College Name: IIT Madras
Motivation: * Been the leader since more than half a century, been through the technological revolution.
* Revolutionising payments architecture. Building something of greatest need, so elegant and optimised, yet producing such consistent performance.
* Keeping up with the need of the generation by introducing features which are brand new. Eg, “all-purpose credit card”.
* Loved their PPT (Pre Placement Talk). Volume of the data and processing is IMMENSE. Billions of transactions in a year voluming up to trillions. More than 200 countries in the world --> these stats are HUGE.
* Fraud detection is a space I would have loved to work on given that I come from a Data Mining background.

Funny Moments: Chucked out before HR round :P

Skills evaluated in this interview

Interview Questionnaire 

2 Questions

  • Q1. Why would you like to join Visa and why?
  • Ans. 

    I want to join Visa to contribute to innovative payment solutions and be part of a global leader in financial technology.

    • Visa is at the forefront of digital payment innovation, allowing me to work on cutting-edge technologies.

    • The company's commitment to security aligns with my passion for developing secure software solutions.

    • Visa's global presence offers opportunities to collaborate with diverse teams and learn from di...

  • Answered by AI
  • Q2. Tell me about yourself

Interview Preparation Tips

Round: Test
Experience: Coding Questions were fairly standard ones.
Duration: 75 minutes
Total Questions: 42

Round: Interview
Experience: Networks based questions, firewalls, TCP/IP and other OSI layers

Round: Interview
Experience: Coding questions. Asked to code on paper. Questions on Object Oriented Design.

Skills: Networks basics, OOPs basics, Coding Skills
College Name: IIT Guwahati
Motivation: Profiles offered, Package, Location

Interview Preparation Tips

Round: Test
Experience: Questions on
1. Programming: 10 Questions2. Machine Learning Hadoop MCQ: 6 Questions3. Networking MCQ: 6 Questions4. Operating System: 6 Questions5. Infrastructure: 6 Questions6. Application Security: 6 Questions
Tips: Questions were simple , except sections 2,5 unless you have a basic idea about it.
Duration: 75 minutes
Total Questions: 34+2

Round: Technical Interview
Experience: – Projects, Internship– Asymmetric and Symmetric encryption with some real world usage– Concepts behind Digital Signature and Digital Certificates– Detailed discussion on HTTPS– Basic OS concepts : Threads, Mutex , Semaphores– Basic OOPS concepts : Virtual functions , Function overloading and overriding , encapsulation.
Tips: Focus on Network Security concepts !

Round: Technical Interview
Experience: – Projects , Internship– Some discussion on Testing and how you would design a unit test case and a complete project test case. Discussion on Automated Testing.– How does a Web application work.– Software Development Models– Discussion on interpreted language and compiled language– Some DBMS basics for efficiency :- Indexing viz. B+trees , Hashing.– Some discussion on Apple Pay , VbV (Verified by Visa) (informal)

Round: HR Interview
Experience: Basic HR questions !

General Tips: Confidence is the key along with sufficient coding practice both on the IDE and pen-paper.
Skills: Network Security, Programming, Algorithms, Operating System
College Name: IIT ROORKEE

I applied via Campus Placement and was interviewed in Dec 2016. There were 5 interview rounds.

Interview Questionnaire 

7 Questions

  • Q1. Given an array, Implement Binary search tree
  • Ans. 

    Implement Binary Search Tree using given array of strings.

    • Sort the array in ascending order

    • Find the middle element and make it the root of the tree

    • Recursively create left and right subtrees using the left and right halves of the array

    • Repeat until all elements are added to the tree

  • Answered by AI
  • Q2. Given the above Binary search tree, print in ascending order
  • Ans. 

    Print the given Binary search tree in ascending order

    • Traverse the left subtree recursively

    • Print the root node

    • Traverse the right subtree recursively

  • Answered by AI
  • Q3. Given an array of stock prices, find where to buy and where to sell for maximum profit in O(n)
  • Q4. Resume based
  • Ans. 

    Discussing my experience with software development projects and technologies used.

    • Developed a web application using React and Node.js, improving user engagement by 30%.

    • Implemented RESTful APIs for seamless data exchange between front-end and back-end.

    • Collaborated with cross-functional teams to deliver projects on time and within budget.

    • Utilized Agile methodologies to enhance project management and team communication.

  • Answered by AI
  • Q5. What are three problems Chennai faces?
  • Ans. 

    Chennai faces problems related to water scarcity, traffic congestion, and pollution.

    • Water scarcity due to inadequate rainfall and poor management of water resources.

    • Traffic congestion due to the increasing number of vehicles and poor road infrastructure.

    • Pollution caused by industries, vehicular emissions, and improper waste disposal.

  • Answered by AI
  • Q6. Which one would you solve and how and why?
  • Ans. 

    Need more context on the question to provide an answer.

    • Please provide more information on the problem to be solved.

    • Without context, it is difficult to provide a solution.

    • Can you please provide more details on the problem statement?

  • Answered by AI
  • Q7. What is most interesting thing about Visa?

Interview Preparation Tips

Round: Test
Experience: 4 Coding questions on Hackerrank platform, one and half hour time. I am not going to reveal the questions here, but one was a basic binary tree implementation and the other three were algorithmic and mathematical problems. They were kinda hard to solve in an hour and half. I could do only 1 and half of the other one. I got 115/300 points on that. I was one of the 16 people selected for the interview.
Tips: It all depends on how well you can focus on the test day. Just practice a lot on hackerrank.
Duration: 1 hour 30 minutes
Total Questions: 4

Round: Technical Interview
Experience: The first two questions I was able to do fast enough. I was also asked a few questions on my resume and coding-related internship. The last one, I showed an O(n*n) algorithm first and then modified it to O(n). Around 45 minutes.
Tips: Be thorough on the coding part in your resume. Think out aloud!

Round: Technical + HR Interview
Experience: Just a few normal questions regarding my projects and my favorite course and it's application to Visa. 15 minutes.
Tips: Once again, be thorough on your resume.

Round: HR Interview
Experience: Once again a normal round, just random questions as to whether I am interested and good enough in communication. 15 minutes.
Tips: Don't get shaken. Be ready for all kinds of questions. Especially about Visa relation to what you do

Skills: Smart Coding
College Name: IIT Madras

Skills evaluated in this interview

Razorpay Interview FAQs

How many rounds are there in Razorpay Software Engineer interview?
Razorpay interview process usually has 2 rounds. The most common rounds in the Razorpay interview process are One-on-one Round, Coding Test and HR.
How to prepare for Razorpay Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Razorpay. The most common topics and skills that interviewers at Razorpay expect are Github, Android, Architecture, Data Structures and Debugging.
What are the top questions asked in Razorpay Software Engineer interview?

Some of the top questions asked at the Razorpay Software Engineer interview -

  1. High-level design - Design a chat-based application like WhatsApp with only use...read more
  2. LLD/Machine coding - Design a social media application with users, posts, comme...read more
  3. System Design : Design in memory Datab...read more

Tell us how to improve this page.

Overall Interview Experience Rating

4/5

based on 6 interview experiences

Difficulty level

Moderate 50%
Hard 50%

Duration

Less than 2 weeks 100%
View more
Join Razorpay Revolutionize the FinTech space with groundbreaking solutions
Razorpay Software Engineer Salary
based on 140 salaries
₹12 L/yr - ₹19.6 L/yr
53% more than the average Software Engineer Salary in India
View more details

Razorpay Software Engineer Reviews and Ratings

based on 20 reviews

3.6/5

Rating in categories

3.7

Skill development

2.9

Work-life balance

3.1

Salary

3.3

Job security

3.4

Company culture

2.8

Promotions

3.2

Work satisfaction

Explore 20 Reviews and Ratings
Software Engineer
140 salaries
unlock blur

₹12 L/yr - ₹19.6 L/yr

Software Developer
133 salaries
unlock blur

₹14.4 L/yr - ₹25 L/yr

Senior Software Engineer
132 salaries
unlock blur

₹25 L/yr - ₹41.8 L/yr

Junior Analyst
119 salaries
unlock blur

₹2.4 L/yr - ₹5.5 L/yr

Software Development Engineer
114 salaries
unlock blur

₹15 L/yr - ₹27 L/yr

Explore more salaries
Compare Razorpay with

Paytm

3.2
Compare

PayPal

3.8
Compare

BharatPe

3.4
Compare

PhonePe

4.0
Compare
write
Share an Interview