Back to problems

Systems Utility Coding: Temperature Spike, Logs, Brackets

Algorithm · NVIDIA · Hard

Examples Example 1 Example 2 Requirements This set groups several compact tasks commonly presented together. Detecting temperature surges Implement: Given time-ordered (timestamp, temperature) pairs, identify the timestamp(s) or time range(s) associated with CPU-temperature surges. Establish which surge criterion applies: Fixed increase: temp[i] - temp[i-1] >= threshold. Moving reference: temp[i] > avg(previous window) + threshold. Persistent surge: no fewer than k…

Checking your access…