i
Paytm
Filter interviews by
The Longest Substring Without Repeating Characters problem involves finding the length of the longest substring without any repeating characters.
Best solution: Sliding Window approach with HashSet to track unique characters. Time complexity O(n), space complexity O(min(n, m)) where n is the length of the string and m is the size of the character set.
Worst solution: Brute force approach checking all substrings for ...
Rain water trapping problem involves calculating the amount of rainwater that can be trapped between buildings.
Calculate the maximum height of water that can be trapped at each index
Calculate the water trapped at each index by subtracting the height of the building at that index
Sum up the water trapped at each index to get the total amount of rainwater trapped
Design a system for a chat application
Use WebSocket for real-time communication
Implement message queuing for reliable message delivery
Include features like read receipts, typing indicators, and message history
Design a user-friendly interface with customizable themes and emojis
Ensure end-to-end encryption for secure communication
Custom hook for debouncing user input in React applications
Accepts a value and delay as arguments
Uses useEffect to set a timeout to update the debounced value after the specified delay
Returns the debounced value and a function to update the input value
Implement language change functionality using useContext and useReducer
Create a LanguageContext to store the current language state
Use useReducer to handle state changes for language selection
Dispatch actions to update the language state based on user selection
Create a traffic light simulation in react.js with changing colors based on time configuration.
Use React state to manage the current color of the traffic light
Set up a timer to change the color of the traffic light at specified intervals
Use CSS to style the traffic light and different colors for each light
To handle large size data for infinite scroll, use virtual scrolling, lazy loading, and optimize data fetching/rendering.
Implement virtual scrolling to render only the visible items on the screen, reducing memory usage and improving performance.
Use lazy loading to fetch more data as the user scrolls, avoiding loading all data at once.
Optimize data fetching and rendering by using efficient algorithms and data struc...
Achieve responsive design by using media queries, flexible layouts, and fluid grids.
Use media queries to adjust styles based on screen size
Create flexible layouts that adapt to different screen sizes
Implement fluid grids to ensure content scales proportionally
Creating a REST API involves defining endpoints, handling requests, and structuring data layers.
Define the API endpoints using a framework like Express.js in Node.js.
Implement controllers to handle business logic for each endpoint.
Use a service layer to interact with the database, abstracting data access.
Create models to define the structure of data, e.g., using Mongoose for MongoDB.
Set up middleware for error han...
Design a notification service for sending real-time alerts to users.
Use a scalable messaging system like Kafka or RabbitMQ to handle high volume of notifications.
Implement a user preference system to allow users to choose their preferred notification channels (email, SMS, push notifications, etc).
Include a scheduling feature to send notifications at specific times or intervals.
Ensure notifications are personalized...
I appeared for an interview in Dec 2024.
The Longest Substring Without Repeating Characters problem involves finding the length of the longest substring without any repeating characters.
Best solution: Sliding Window approach with HashSet to track unique characters. Time complexity O(n), space complexity O(min(n, m)) where n is the length of the string and m is the size of the character set.
Worst solution: Brute force approach checking all substrings for uniqu...
I applied via Approached by Company and was interviewed in Aug 2024. There were 3 interview rounds.
Coding Test on HackerRank
Design a system for a chat application
Use WebSocket for real-time communication
Implement message queuing for reliable message delivery
Include features like read receipts, typing indicators, and message history
Design a user-friendly interface with customizable themes and emojis
Ensure end-to-end encryption for secure communication
Duration - 1 hour
Topic - DS/Algo
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
The first round was a hackerrank dsa round where i was asked below problems from difficulty easy to medium.
1. Max even sum subseqynce
2.Find length of longest subsequnce of one string which is substring of another
Kafka is a distributed streaming platform used for building real-time data pipelines and streaming applications.
Kafka is used for real-time data processing, messaging, and event streaming.
It provides high-throughput, fault-tolerant, and scalable messaging system.
Example use case: Implementing a real-time analytics dashboard for monitoring website traffic.
Rain water trapping problem involves calculating the amount of rainwater that can be trapped between buildings.
Calculate the maximum height of water that can be trapped at each index
Calculate the water trapped at each index by subtracting the height of the building at that index
Sum up the water trapped at each index to get the total amount of rainwater trapped
I appeared for an interview in Apr 2025, where I was asked the following questions.
Calculate the amount of rainwater that can be trapped between buildings after rainfall based on their heights.
Use two-pointer technique to traverse the height array from both ends.
Maintain left and right max heights to calculate trapped water.
For each position, water trapped = min(leftMax, rightMax) - height[i].
Example: For heights [0,1,0,2,1,0,1,3,2,1,2,1], trapped water = 6.
I applied via Campus Placement
3 questions easy to medium level
Custom hook for debouncing user input in React applications
Accepts a value and delay as arguments
Uses useEffect to set a timeout to update the debounced value after the specified delay
Returns the debounced value and a function to update the input value
Implement language change functionality using useContext and useReducer
Create a LanguageContext to store the current language state
Use useReducer to handle state changes for language selection
Dispatch actions to update the language state based on user selection
Top trending discussions
Some of the top questions asked at the Paytm Senior Software Engineer interview -
The duration of Paytm Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 35 interview experiences
Difficulty level
Duration
based on 140 reviews
Rating in categories
Team Lead
2k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Senior Software Engineer
1.5k
salaries
| ₹11 L/yr - ₹38 L/yr |
Software Engineer
1.4k
salaries
| ₹6 L/yr - ₹21 L/yr |
Sales Executive
985
salaries
| ₹0.9 L/yr - ₹5.3 L/yr |
Senior Associate
958
salaries
| ₹2.2 L/yr - ₹9.1 L/yr |
BharatPe
Zerodha
Razorpay
Mobikwik