Check if nodes are cousins
Filed under ABCO
The question
Determine if two nodes in a binary tree are cousins.
No write-up yet. Related questions below have one.
Related ABCO questions
Collected from public candidate posts and coding forums. Updated Nov 2026.