Persistent Systems SDE-1 Off-Campus OA | Sliding Window Maximum & Greedy Refueling
Question · Posted Jun 2026
Problem 1 - Data Center Server Temperature Spikes Problem Statement You are building an automated infrastructure monitor for a high-performance cloud data center. The monitoring system records temperature readings in an integer array temperatureReadings of size N, where each element represents the temperature of a server cluster at a specific minute. You are also given an integer samplingWindow. For every contiguous window of size samplingWindow, determine the maximum temperature present in that window. Return an integer array containing the maximum ...
The full answer & interview discussion are available to premium members.
Log in Create a free account