Quick Overview

Implement a recurring-job scheduler that selects the highest-priority eligible job and enforces cooldowns measured in later retrieval calls. Preserve insertion-order tie-breaking while handling empty calls, zero cooldowns, duplicate IDs, large workloads, concurrent workers, updates, and removals.

Schedule Priority Jobs with Cooldowns

Company: Google

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Onsite

Overview: Implement a recurring-job scheduler that selects the highest-priority eligible job and enforces cooldowns measured in later retrieval calls. Preserve insertion-order tie-breaking while handling empty calls, zero cooldowns, duplicate IDs, large workloads, concurrent workers, updates, and removals.

Read the full Google Software Engineer interview experience this question came from

Loading…