closest-value-requires-non-null-root

Status: IN

`closestValue` dereferences `root.val` on the first line with no null check; passing `root=None` raises `AttributeError`.

Source: entries/2026/06/06/closest-binary-search-tree-value-solution.md

JSON