Job Dispatcher with Least-Loaded, Round-Robin Assignment and Executor Removal

Read the full interview experience this question came from →

Quick Overview

A coding exercise to implement Executor and JobDispatcher classes that send each integer job ID to the executor with the fewest pending jobs, breaking ties round-robin, while executors join and leave. It tests precise tie-break semantics, consistent load tracking, reassigning a removed executor's queued jobs, and edge cases.

Job Dispatcher with Least-Loaded, Round-Robin Assignment and Executor Removal

Company: Cresta

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: A coding exercise to implement Executor and JobDispatcher classes that send each integer job ID to the executor with the fewest pending jobs, breaking ties round-robin, while executors join and leave. It tests precise tie-break semantics, consistent load tracking, reassigning a removed executor's queued jobs, and edge cases.

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

Cresta logo
Cresta
Sep 12, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
11
0
Loading...