Find mirror node in binary tree with parent pointers
Filed under Infybeam
The question
Given a binary tree where nodes have left, right, and parent pointers, return the mirror node given a pointer to any node. Discuss what changes if the root pointer is not given.
No write-up yet. Related questions below have one.
Related Infybeam questions
Collected from public candidate posts and coding forums. Updated Nov 2026.