Persistent Systems OA September 2025 | Cloud Infrastructure Log Buffer Optimization & Asynchronous Enterprise Service Mesh Routing

Question · Posted Jun 2026

Problem 1 - Cloud Infrastructure Log Buffer Optimization Problem Statement An enterprise cloud gateway logs a continuous chronological stream of network traffic frames represented as an integer array frames of size N, where frames[i] denotes the size of the i-th incoming packet. To optimize server buffer allocation, an automation system wants to isolate a contiguous segment of frames for batch processing. To prevent memory starvation, the selected segment must satisfy the following constraints: The total combined size of all frames ...

The full answer & interview discussion are available to premium members.

Log in Create a free account