CodingReported in a candidate post, Oct 2023
Pair people by height difference at most 2
Filed under Blue Yonder
The question
Given N heights and names, pair people whose height difference is at most 2, pairing for the shortest person, and print the pairs with the shorter person's name first.
No write-up yet. Related questions below have one.
Related Blue Yonder questions
Collected from public candidate posts and coding forums. Updated Nov 2026.