min-on-empty-is-unguarded

Status: IN

`max_distance` crashes with `ValueError` from `min()` on an empty generator if `k > len(nums)`; no explicit validation exists.

Source: entries/2026/06/06/minimum-difference-between-highest-and-lowest-of-k-scores-solution.md

Depended on by

JSON