Paytm
Paytm

Senior Software Engineer

Design a Task Scheduler

Hard
Round 3system_designCandidate Selected

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.

This question was asked in

Paytm Senior Software Engineer Interview Experience

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.

AI Powered

Share Your Story

Share your interview in your own words — our AI handles the rest. Hardly takes 2 minutes.

Mock Interviews & 1:1 Guidance

Practice mock interviews or book a 1:1 call for career guidance, resume reviews, and more.

Show Your Love!

Connect with us on social media

Design a Task Scheduler | Paytm Interview Question | InterviewRecap