arithmetic-progression-sort-then-scan

Status: IN

`can_construct` sorts the input then verifies constant consecutive difference in one pass — O(n log n) time, O(1) extra space beyond the sort.

Source: entries/2026/06/06/can-make-arithmetic-progression-from-sequence-solution.md

JSON