CodingReported in a candidate post, Jan 2020
Sort array by minimal difference
Filed under Hippo Video
The question
Sort an integer array such that the absolute difference between consecutive elements is minimized.
No write-up yet. Related questions below have one.
Related Hippo Video questions
Collected from public candidate posts and coding forums. Updated Nov 2026.