← Swiggy questions
CodingHard

Minimum Time to Execute Tasks with Cooling Period

Filed under Swiggy

Given an array of tasks represented by characters or IDs and a cooling period 'k', find the minimum units of time required to finish all tasks. Each task can be completed in 1 unit of time, and same…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Swiggy questions

Collected from public candidate posts and coding forums. Updated Nov 2026.