Connect Leaf Siblings in a Binary Tree
Filed under SIXT
The question
Connect the left leaf child with its right leaf child at the same level for a binary tree containing nodes with either 0 or 2 children, and return the updated tree.
No write-up yet. Related questions below have one.
Related SIXT questions
Collected from public candidate posts and coding forums. Updated Nov 2026.