{"id":"invert-tree-mutates-in-place","text":"`invert_tree` swaps child pointers on existing nodes rather than allocating new ones; the returned root is the same object as the input root.","truth_value":"IN","source":"entries/2026/06/06/invert-binary-tree-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"invert-tree-mutates-in-place","truth_value":"IN","reason":"premise"}]}}