bit-shift-accumulation-correctness

Status: IN

`(current << 1) | node.val` correctly builds a binary number MSB-first, equivalent to `current * 2 + node.val` — used in tree and linked-list path-to-number problems.

Source: entries/2026/06/06/sum-of-root-to-leaf-binary-numbers-solution.md

JSON