sort-greedy-positive-only

Status: IN

`max_product_difference` is correct only because all `nums[i]` are positive (per LeetCode constraint 1 <= nums[i] <= 10^4); negative values would invalidate the assumption that the two smallest form the minimum product.

Source: entries/2026/06/06/maximum-product-difference-between-two-pairs-solution.md

Depended on by

JSON