Amazon Interview Question

Connect nodes of a Binary Tree.