{"id":"preorder-reversed-children-for-left-to-right","text":"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.","truth_value":"IN","source":"entries/2026/06/06/n-ary-tree-preorder-traversal-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"preorder-reversed-children-for-left-to-right","truth_value":"IN","reason":"premise"}]}}