dfs-null-guard-at-callsite

Status: IN

In tree DFS solutions, the inner recursive function is only called on non-None nodes — null checks happen at the call site before recursing into children, not inside the recursive function body.

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

JSON