Paytm Senior Software Engineer Interview Experience
Senior Software Engineer
Summary
AI Powered
The interview process at Paytm consisted of three rounds, focusing on Data Structures and Algorithms (DSA) as well as System Design concepts. Candidates faced a mix of coding challenges and design questions, with increasing difficulty as they progressed. Overall, the experience was engaging, providing insights into technical problem-solving and design skills required at Paytm.
1
2
Given an array of policy names with Roman numeral suffixes (e.g., ['MAX_BUPA_IX', 'ICICI_LOMBARD_XIX']), sort them by the integer value of the Roman numeral first, then alphabetically. **Approach**: Parse Roman numerals into integers using a HashMap, create pairs of {policyName : number}, and sort these entries using a custom Comparator and lambda (first by value, then by key).
Given an array of policy names with Roman numeral suffixes (e.g., ['MAX_BUPA_IX', 'ICICI_LOMBARD_XIX']), sort them by the integer value of the Roman numeral first, then alphabetically. **Approach**: Parse Roman numerals into integers using a HashMap, create pairs of {policyName : number}, and sort these entries using a custom Comparator and lambda (first by value, then by key).
DSA
Medium
Design a file upload service similar to Dropbox. Your design should include distributed object storage for files, pre-signed URLs for direct client uploads, and a database structure for files, metadata, and share lists. **Considerations**: Choose NoSQL for metadata and share lists to enhance scalability.
Design a file upload service similar to Dropbox. Your design should include distributed object storage for files, pre-signed URLs for direct client uploads, and a database structure for files, metadata, and share lists. **Considerations**: Choose NoSQL for metadata and share lists to enhance scalability.
System Design
Hard
3
Find the longest zigzag path in a binary tree. A zigzag path is defined as one where the direction alternates between left and right. **Approach**: Track the previous direction and current length. If the last move was to the left, the next must be to the right, and vice versa.
Find the longest zigzag path in a binary tree. A zigzag path is defined as one where the direction alternates between left and right. **Approach**: Track the previous direction and current length. If the last move was to the left, the next must be to the right, and vice versa.
DSA
Medium
Design a Task Scheduler that can support one-time tasks and recurring tasks, with recurrence defined by cron expressions. **Approach**: Utilize ExecutorService, a Queue, and wait()/notify() for task coordination and execution. Consider how to apply the Strategy pattern so that different task types, especially those based on cron, can calculate their next execution independently.
Design a Task Scheduler that can support one-time tasks and recurring tasks, with recurrence defined by cron expressions. **Approach**: Utilize ExecutorService, a Queue, and wait()/notify() for task coordination and execution. Consider how to apply the Strategy pattern so that different task types, especially those based on cron, can calculate their next execution independently.
LLD
Hard
A
Anonymous
Anonymous User
⌘/Ctrl+D
Bookmark for later