delete-nodes-zero-allocation

Status: IN

The delete-N-after-M algorithm creates no new `ListNode` instances — it only rewires `.next` pointers on existing nodes, using O(1) extra space.

Source: entries/2026/06/06/delete-n-nodes-after-m-nodes-of-a-linked-list-solution.md

JSON