heapify-over-repeated-push

Status: IN

Solutions prefer `heapq.heapify()` (O(n)) for initial heap construction rather than n individual `heappush` calls (O(n log n)).

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

JSON