{"id":"cousins-parent-identity-comparison","text":"`isCousins` compares parents with `!=` (object identity) rather than value equality, which is correct because `TreeNode` has no `__eq__` override — two nodes with the same value at different positions are distinct objects.","truth_value":"IN","source":"entries/2026/06/06/cousins-in-binary-tree-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"cousins-parent-identity-comparison","truth_value":"IN","reason":"premise"}]}}