Infosys HackWithInfy 2025 | Parity Switch Bounded Subarray & Drone Battery Swap Network Routing
Question · Posted Jun 2026
Problem 1 - Parity Switch Bounded Subarray Problem Statement An enterprise data processing pipeline streams a chronological sequence of numerical transaction keys represented as an integer array nums of size N. To identify structural patterns in data clustering, an engineer wants to isolate the longest contiguous segment of keys. The telemetry parser tracks a behavioral metric known as a Parity Switch. A parity switch occurs between two adjacent elements if one element is odd and the other is even. Find ...
The full answer & interview discussion are available to premium members.
Log in Create a free account