How to join the leafes of the binary tree?

Given a binary tree, how would you join the nodes at each level, left to right.

Say there are 5 nodes at level three, link all of them from left to right.

No comments:

Post a Comment