Meesho Open Campus 2025 Online Assessment Questions & Solutions (HackerEarth OA)

Meesho · Question · Posted Jun 2026

Problem 1 - Task Scheduler Problem Statement You are given an array of CPU tasks, where each task is labeled with a letter from A to Z, and an integer n representing the cooldown period. Each CPU interval can do one of the following: Execute exactly one task Remain idle Two tasks with the same label must be separated by at least n intervals. Return the minimum number of CPU intervals required to complete all tasks. Constraints Constraint Value Number ...

The full answer & interview discussion are available to premium members.

Log in Create a free account