node-children-default-empty-list

Status: IN

`Node.__init__` in n-ary tree solutions avoids Python's mutable default argument pitfall by using `None` as the default parameter and replacing with `[]` inside the constructor body.

Source: entries/2026/06/06/n-ary-tree-postorder-traversal-solution.md

JSON