Bloomberg Interview Question

Connect next pointers in a binary tree