preorder-reversed-children-for-left-to-right

Status: IN

The n-ary preorder traversal pushes `reversed(node.children)` onto the stack so that LIFO pop order yields left-to-right child visitation — the mirror of postorder's `extend(children)` approach.

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

JSON