max-heap-via-negation-idiom

Status: IN

Solutions needing max-heap behavior negate values on insert and negate again on extract, since Python's `heapq` only provides a min-heap.

Source: entries/2026/06/06/last-stone-weight-solution.md

JSON