Slice SDE-1 OA 2026 | Credit Limit Transaction Batching & Dynamic Payment Gateway Clearing Optimization
Slice · Question · Posted Jun 2026
Problem 1 - Credit Limit Transaction Batching Problem Statement Slice's card payment engine monitors a continuous chronological stream of merchant transactions represented as an integer array txns of size N, where txns[i] denotes the value of the i-th transaction. To analyze localized spending anomalies, a fraud-detection system wants to capture a contiguous segment of transactions. To satisfy platform safety constraints, the selected segment must satisfy the following conditions: The total transaction value inside the segment cannot exceed V. The segment ...
The full answer & interview discussion are available to premium members.
Log in Create a free account