← Goldman Sachs questions
CodingReported in a candidate post, Sep 2025

Task scheduler with cooldown

Filed under Goldman Sachs

Each task is a letter and takes one CPU cycle. Two identical tasks must be separated by at least k cooldown cycles (the CPU may idle). Given the list of tasks and k, return the minimum number of…

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 Goldman Sachs questions

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