Persistent Systems Online Assessment | Longest Consecutive Sequence

Question · Posted Jun 2026

Problem - Corporate Network Routing Matrix Problem Statement You are building an optimization module for a global enterprise SD-WAN routing controller. The system monitors a telemetry stream represented by an unsorted integer array networkNodes of size N. Your task is to determine the length of the longest sequence of consecutive integers present in the array. The numbers do not need to appear next to each other in the original array. They only need to exist such that they can form ...

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

Log in Create a free account