Cisco OA 2025 | Faulty Network Packet Recovery & Server Cluster Power Grid

Cisco · Question · Posted Jun 2026

Problem 1 - Faulty Network Packet Recovery Problem Statement You are given a binary string packet consisting only of '0' and '1' characters and an integer k. A valid data block is defined as any contiguous substring of length k containing an equal number of 0s and 1s. Return the total number of valid data blocks of length exactly k. If k is odd, return 0. Constraints Constraint 1 ≤ packet.length ≤ 100000 packet contains only '0' and '1' 1 ...

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

Log in Create a free account