Status: IN
The directional pruning (`left if target < node.val else right`) is only correct for valid BSTs; a non-BST input silently produces wrong results with no validation.
Source: entries/2026/06/06/closest-binary-search-tree-value-solution.md
JSON