PhonePe SDE-1 Online Assessment 2025 | Continuous Stable Transaction Volume & Decoupling Payment Deadlocks

PhonePe · Question · Posted Jun 2026

Problem 1 - Continuous Stable Transaction Volume Problem Statement An internal database flags suspicious micro-transaction patterns. You are given an integer array volumes of size N, where volumes[i] represents the transaction load recorded at the i-th millisecond. The risk engine wants to find the maximum length of a contiguous sequence of logs where the transaction volumes remain structurally stable. A contiguous sequence is considered stable if and only if the absolute difference between the maximum volume and minimum volume present ...

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

Log in Create a free account