dfs-short-circuits-via-and-chain

Status: IN

Tree DFS solutions use Python's `and` short-circuit evaluation (`node.val == target and dfs(left) and dfs(right)`) to stop traversal immediately on the first failing condition.

Source: entries/2026/06/06/univalued-binary-tree-solution.md

JSON