i
Razorpay
Work with us
Filter interviews by
The Map interface in Java represents a collection of key-value pairs with various implementations and complexities.
Map interface is part of the Java Collections Framework.
Common implementations include HashMap, TreeMap, and LinkedHashMap.
HashMap offers average O(1) time complexity for get and put operations.
TreeMap maintains sorted order, with O(log n) time complexity for get and put.
LinkedHashMap maintains insert...
Design a parking system for SUVs and hatchbacks with different rates and fare computation.
Define two types of parking spots: SUV and Hatchback.
Hatchbacks can park in either spot, but SUVs can only park in SUV spots.
Set rates: e.g., SUV = 20 rs/hr, Hatchback = 15 rs/hr.
Implement a fare calculation function based on vehicle type and duration.
Example: A hatchback parked for 3 hours would cost 45 rs.
Merging two tech stacks involves assessment, planning, integration, testing, and ongoing optimization.
1. Assess both tech stacks: Evaluate the strengths and weaknesses of each stack.
2. Define objectives: Identify the goals for the unified stack, such as performance improvement or cost reduction.
3. Create a roadmap: Develop a detailed plan outlining the integration process, timelines, and resources needed.
4. Choose...
State management in React allows components to maintain and update their own data, enhancing interactivity and user experience.
Local State: Each component can have its own state using the useState hook, allowing for dynamic updates. Example: A counter component that increments a value.
Global State: For shared state across multiple components, use Context API or libraries like Redux. Example: User authentication st...
A/B testing involves comparing two versions of a variable to determine which performs better.
Define the objective: Identify what you want to test, e.g., increasing conversion rates on a landing page.
Select the metric: Choose a key performance indicator (KPI) to measure success, such as click-through rate (CTR).
Segment the audience: Randomly divide your audience into two groups, A (control) and B (variant).
Design t...
Compute moving averages in Python using pandas for time series data analysis.
Import pandas: `import pandas as pd`
Create a DataFrame: `df = pd.DataFrame({'data': [1, 2, 3, 4, 5]})`
Use the `rolling()` method: `df['moving_average'] = df['data'].rolling(window=3).mean()`
The `window` parameter defines the number of periods to consider for the average.
Moving averages help smooth out short-term fluctuations and highlight...
HDFS stands for Hadoop Distributed File System, a distributed file system designed to store and manage large amounts of data across multiple machines.
HDFS is part of the Apache Hadoop project
It is designed to be highly fault-tolerant and scalable
Data is stored in blocks across multiple nodes in a cluster
HDFS is commonly used for big data processing and analytics
Key concepts in joining tables using PySpark
Understanding the different types of joins: inner join, outer join, left join, right join
Specifying the join condition using 'on' or 'using' clauses
Handling duplicate column names after joining by aliasing or dropping columns
Utilizing broadcast joins for small tables to improve performance
Design a SQL database for a library management system to manage books, members, and transactions.
Entities: Books, Members, Transactions.
Books table: id (PK), title, author, genre, published_date.
Members table: id (PK), name, email, membership_date.
Transactions table: id (PK), book_id (FK), member_id (FK), borrow_date, return_date.
High Level Design (HLD) round with system design involves designing the overall architecture of a system.
Understand the requirements and constraints of the system
Identify the key components and their interactions
Design the data flow and communication between components
Consider scalability, reliability, and performance
Create diagrams to visualize the architecture, such as UML diagrams or flowcharts
I applied via Referral and was interviewed in Oct 2024. There were 3 interview rounds.
Was asked to create a UI component keeping in mind scalability and reuseability.
General discussion about resume and projects, and then some basic JS coding questions like implement throttling and memoization.
I applied via LinkedIn and was interviewed in Aug 2024. There was 1 interview round.
I applied via Referral and was interviewed in Oct 2024. There were 2 interview rounds.
Evaluating the potential for Google to launch an OTT platform involves market analysis, competition, and strategic fit.
Market Demand: OTT platforms are growing; Netflix and Disney+ show strong subscriber growth.
Competitive Landscape: Google would compete with established players like Amazon Prime and Hulu.
Content Strategy: Google could leverage YouTube's vast content library and original programming.
Monetization: Subsc...
Swiggy can enhance user experience through personalized recommendations, improved delivery tracking, and loyalty programs.
Implement AI-driven personalized food recommendations based on user preferences and order history.
Enhance delivery tracking with real-time updates and estimated delivery times to improve transparency.
Introduce a loyalty program that rewards frequent users with discounts or exclusive offers.
Expand pa...
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Question depends on the Job description
I appeared for an interview in Jun 2025, where I was asked the following questions.
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...
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 (...
I appeared for an interview in Apr 2025, where I was asked the following questions.
In my last job, I faced challenges in team alignment, resource allocation, and adapting to rapid changes in project scope.
Team Alignment: Ensuring all team members were on the same page regarding project goals was challenging, especially during cross-departmental collaborations.
Resource Allocation: I had to manage limited resources effectively, prioritizing tasks to meet deadlines without compromising quality, such as ...
There were DSA questions and time limit was 1 hr
Factorial calculation using tabulation in dynamic programming
Create an array to store factorial values up to n
Initialize the array with base cases (0! = 1, 1! = 1)
Iterate from 2 to n and calculate factorial using previous values in the array
Return the factorial value at index n
Wildcard matching checks if a string matches a pattern with '*' and '?' as wildcards.
Use '*' to match any sequence of characters. Example: 'a*b' matches 'ab', 'aXb', 'a123b'.
'?' matches any single character. Example: 'a?c' matches 'abc', 'axc', but not 'ac'.
Implement using dynamic programming for efficiency, especially for longer strings.
Consider edge cases like empty strings and patterns.
I applied via Campus Placement and was interviewed in Aug 2024. There were 2 interview rounds.
There were mcqs in atitude test.
AI stands for artificial intelligence, which is the simulation of human intelligence processes by machines.
AI involves machines performing tasks that typically require human intelligence, such as visual perception, speech recognition, decision-making, and language translation.
AI systems can learn from data, adapt to new inputs, and perform tasks autonomously.
Examples of AI include virtual assistants like Siri and Alexa...
I applied via Campus Placement and was interviewed in Aug 2024. There were 3 interview rounds.
Aptitude and coding both
Top trending discussions
Some of the top questions asked at the Razorpay interview -
The duration of Razorpay interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 147 interview experiences
Difficulty level
Duration
based on 601 reviews
Rating in categories
Senior Software Engineer
135
salaries
| ₹24.2 L/yr - ₹40 L/yr |
Software Engineer
132
salaries
| ₹12 L/yr - ₹18.7 L/yr |
Software Developer
126
salaries
| ₹14.4 L/yr - ₹25 L/yr |
Junior Analyst
118
salaries
| ₹2.4 L/yr - ₹5.5 L/yr |
Analyst
109
salaries
| ₹4 L/yr - ₹7.8 L/yr |
Paytm
PayPal
BharatPe
PhonePe