Longest Consecutive Sequence — Arrays & Hashing
Given packet numbers that arrive in any order, report how long the biggest uninterrupted stretch of consecutive values is.
Arrays & Hashing · Medium
Given packet numbers that arrive in any order, report how long the biggest uninterrupted stretch of consecutive values is.
Arrays & Hashing · Medium