Optiver's New Grad Software Engineer online assessment consisted of a single 90-minute coding problem. The task was to simulate a firmware controller that prevents a multicore processor from overheating by distributing cooling capacity across active CPU cores.
Interview Details
Round 1 — Coding: Firmware Overheat Controller
I was asked to implement a simulation of a firmware controller responsible for managing the thermal state of a multicore processor. Each CPU core had its own configurable workload, while the processor provided shared passive cooling and dedicated active cooling for each running core. The controller received a sequence of operations that could either update a core's workload or trigger a simulation tick. At each tick, it needed to calculate the current thermal status of every core and report which cores had changed status.
Part 1 — Implement the Controller Interface
The required function had the following signature:
simulateOverheatController(
passiveCapacity,
activeCapacityPerCore,
coreIds,
operations
) -> list of Tick results
simulateOverheatController(
passiveCapacity,
activeCapacityPerCore,
coreIds,
operations
) -> list of Tick results
The parameters represented the total passive cooling capacity, active cooling capacity per running core, the collection of core identifiers, and a sequence of controller operations. Every core initially had a workload of zero. The controller supported two types of operations:
A set operation updated the workload of the specified core without producing output. A tick operation recalculated the thermal states and produced an array containing the cores whose statuses changed during that tick.
Part 2 — Calculate Cooling Capacity and Core Status
The next requirement involved
Unlock Full Details
Create a free account to unlock this interview experience report.