← CodeNation questions

Smallest Range Covering Elements from K Lists

Filed under CodeNation · Also reported at Deliveroo

The question

Given k sorted arrays of varying lengths, find the smallest range [a, b] that includes at least one number from each of the k arrays.

No write-up yet. Related questions below have one.

Related CodeNation questions

Collected from public candidate posts and coding forums. Updated Nov 2026.