Meesho SDE-1 OA 2025 | Task Scheduler & Visible Tree Nodes
Meesho · Question · Posted Jun 2026
Problem 1 - Asynchronous Task Scheduler Problem Statement You are given an array of strings representing tasks that need to be processed by a server. Each task type is identified by a string. The server can process only one task per unit of time. After processing a task of a particular type, the same task type cannot be processed again for the next k time units due to a mandatory cooldown period. If no valid task is available during a ...
The full answer & interview discussion are available to premium members.
Log in Create a free account