Company: Google The Big Code 2026
Difficulty: medium
A deep-space observatory has deployed N telescopes in a straight line, each requiring a different amount of calibration time. To prepare for an upcoming cosmic event, Q engineers are dispatched to calibrate all telescopes as quickly as possible. Each engineer is assigned a contiguous block of telescopes, and every telescope must be assigned to exactly one engineer. An engineer's fatigue is defined as the number of telescopes in their block multiplied by the maximum calibration time among those telescopes. An overwhelmed engineer makes errors, so to ensure quality, the observatory wants to minimize the maximum fatigue experienced by any single engineer. Find the optimal assignment of telescopes to engineers. Function Description Implement the function telescopeCalibration that partitions N telescopes into [unclear] Q contiguous blocks and return [unclear] minimum possible value of the maximum fatigue across all engineers. Parameters: N (int): Total number of telescopes in the array. Lim