Rubrik | Screening | System Coding
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2024-05-16Added By Anonymous
Source: Link
There are tasks which are dependent on each other and there are tasks which can run in parallel.
These tasks will run overnight and do I/O and network calls.
Given an API which returns list of tasks that can run in parallel, Implement a scheduler that can run these tasks as much concurrently as possible.
Cannot use language features like Executor Service in java.